Package com.drew.imaging.jpeg
Class JpegMetadataReader
- java.lang.Object
-
- com.drew.imaging.jpeg.JpegMetadataReader
-
public class JpegMetadataReader extends Object
Obtains all available metadata from JPEG formatted files.
-
-
Field Summary
Fields Modifier and Type Field Description static Iterable<JpegSegmentMetadataReader>ALL_READERS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidprocess(Metadata metadata, InputStream inputStream)static voidprocess(Metadata metadata, InputStream inputStream, Iterable<JpegSegmentMetadataReader> readers)static voidprocessJpegSegmentData(Metadata metadata, Iterable<JpegSegmentMetadataReader> readers, JpegSegmentData segmentData)static MetadatareadMetadata(File file)static MetadatareadMetadata(File file, Iterable<JpegSegmentMetadataReader> readers)static MetadatareadMetadata(InputStream inputStream)static MetadatareadMetadata(InputStream inputStream, Iterable<JpegSegmentMetadataReader> readers)
-
-
-
Field Detail
-
ALL_READERS
public static final Iterable<JpegSegmentMetadataReader> ALL_READERS
-
-
Method Detail
-
readMetadata
public static Metadata readMetadata(InputStream inputStream, Iterable<JpegSegmentMetadataReader> readers) throws JpegProcessingException, IOException
- Throws:
JpegProcessingExceptionIOException
-
readMetadata
public static Metadata readMetadata(InputStream inputStream) throws JpegProcessingException, IOException
- Throws:
JpegProcessingExceptionIOException
-
readMetadata
public static Metadata readMetadata(File file, Iterable<JpegSegmentMetadataReader> readers) throws JpegProcessingException, IOException
- Throws:
JpegProcessingExceptionIOException
-
readMetadata
public static Metadata readMetadata(File file) throws JpegProcessingException, IOException
- Throws:
JpegProcessingExceptionIOException
-
process
public static void process(Metadata metadata, InputStream inputStream) throws JpegProcessingException, IOException
- Throws:
JpegProcessingExceptionIOException
-
process
public static void process(Metadata metadata, InputStream inputStream, Iterable<JpegSegmentMetadataReader> readers) throws JpegProcessingException, IOException
- Throws:
JpegProcessingExceptionIOException
-
processJpegSegmentData
public static void processJpegSegmentData(Metadata metadata, Iterable<JpegSegmentMetadataReader> readers, JpegSegmentData segmentData)
-
-