Package com.drew.imaging.jpeg
Class JpegMetadataReader
java.lang.Object
com.drew.imaging.jpeg.JpegMetadataReader
Obtains all available metadata from JPEG formatted files.
- Author:
- Drew Noakes https://drewnoakes.com
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
ALL_READERS
-
-
Method Details
-
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
- 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)
-