Package gov.nih.mipav.model.file
Class MetadataExtractor.JpegMetadataReader
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.JpegMetadataReader
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.JpegMetadataReader extends java.lang.Object
Obtains all available metadata from JPEG formatted files.- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader>
ALL_READERS
(package private) MetadataExtractor
me
-
Constructor Summary
Constructors Constructor Description JpegMetadataReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(MetadataExtractor.Metadata metadata, java.io.InputStream inputStream)
void
process(MetadataExtractor.Metadata metadata, java.io.InputStream inputStream, java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader> readers)
void
processJpegSegmentData(MetadataExtractor.Metadata metadata, java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader> readers, MetadataExtractor.JpegSegmentData segmentData)
MetadataExtractor.Metadata
readMetadata(java.io.File file)
MetadataExtractor.Metadata
readMetadata(java.io.File file, java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader> readers)
MetadataExtractor.Metadata
readMetadata(java.io.InputStream inputStream)
MetadataExtractor.Metadata
readMetadata(java.io.InputStream inputStream, java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader> readers)
-
-
-
Field Detail
-
me
MetadataExtractor me
-
ALL_READERS
public final java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader> ALL_READERS
-
-
Method Detail
-
readMetadata
public MetadataExtractor.Metadata readMetadata(java.io.InputStream inputStream, java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader> readers) throws MetadataExtractor.JpegProcessingException, java.io.IOException
- Throws:
MetadataExtractor.JpegProcessingException
java.io.IOException
-
readMetadata
public MetadataExtractor.Metadata readMetadata(java.io.InputStream inputStream) throws MetadataExtractor.JpegProcessingException, java.io.IOException
- Throws:
MetadataExtractor.JpegProcessingException
java.io.IOException
-
readMetadata
public MetadataExtractor.Metadata readMetadata(java.io.File file, java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader> readers) throws MetadataExtractor.JpegProcessingException, java.io.IOException
- Throws:
MetadataExtractor.JpegProcessingException
java.io.IOException
-
readMetadata
public MetadataExtractor.Metadata readMetadata(java.io.File file) throws MetadataExtractor.JpegProcessingException, java.io.IOException
- Throws:
MetadataExtractor.JpegProcessingException
java.io.IOException
-
process
public void process(MetadataExtractor.Metadata metadata, java.io.InputStream inputStream) throws MetadataExtractor.JpegProcessingException, java.io.IOException
- Throws:
MetadataExtractor.JpegProcessingException
java.io.IOException
-
process
public void process(MetadataExtractor.Metadata metadata, java.io.InputStream inputStream, java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader> readers) throws MetadataExtractor.JpegProcessingException, java.io.IOException
- Throws:
MetadataExtractor.JpegProcessingException
java.io.IOException
-
processJpegSegmentData
public void processJpegSegmentData(MetadataExtractor.Metadata metadata, java.lang.Iterable<MetadataExtractor.JpegSegmentMetadataReader> readers, MetadataExtractor.JpegSegmentData segmentData)
-
-