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 void
process(Metadata metadata, InputStream inputStream)
static void
process(Metadata metadata, InputStream inputStream, Iterable<JpegSegmentMetadataReader> readers)
static void
processJpegSegmentData(Metadata metadata, Iterable<JpegSegmentMetadataReader> readers, JpegSegmentData segmentData)
static Metadata
readMetadata(File file)
static Metadata
readMetadata(File file, Iterable<JpegSegmentMetadataReader> readers)
static Metadata
readMetadata(InputStream inputStream)
static Metadata
readMetadata(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:
JpegProcessingException
IOException
-
readMetadata
public static Metadata readMetadata(InputStream inputStream) throws JpegProcessingException, IOException
- Throws:
JpegProcessingException
IOException
-
readMetadata
public static Metadata readMetadata(File file, Iterable<JpegSegmentMetadataReader> readers) throws JpegProcessingException, IOException
- Throws:
JpegProcessingException
IOException
-
readMetadata
public static Metadata readMetadata(File file) throws JpegProcessingException, IOException
- Throws:
JpegProcessingException
IOException
-
process
public static void process(Metadata metadata, InputStream inputStream) throws JpegProcessingException, IOException
- Throws:
JpegProcessingException
IOException
-
process
public static void process(Metadata metadata, InputStream inputStream, Iterable<JpegSegmentMetadataReader> readers) throws JpegProcessingException, IOException
- Throws:
JpegProcessingException
IOException
-
processJpegSegmentData
public static void processJpegSegmentData(Metadata metadata, Iterable<JpegSegmentMetadataReader> readers, JpegSegmentData segmentData)
-
-