Package gov.nih.mipav.model.file
Interface MetadataExtractor.JpegSegmentMetadataReader
-
- All Known Implementing Classes:
MetadataExtractor.AdobeJpegReader
,MetadataExtractor.DuckyReader
,MetadataExtractor.ExifReader
,MetadataExtractor.IccReader
,MetadataExtractor.IptcReader
,MetadataExtractor.JfifReader
,MetadataExtractor.JfxxReader
,MetadataExtractor.JpegCommentReader
,MetadataExtractor.JpegDhtReader
,MetadataExtractor.JpegDnlReader
,MetadataExtractor.JpegReader
,MetadataExtractor.PhotoshopReader
- Enclosing class:
- MetadataExtractor
public static interface MetadataExtractor.JpegSegmentMetadataReader
Defines an object that extracts metadata from in JPEG segments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<MetadataExtractor.JpegSegmentType>
getSegmentTypes()
Gets the set of JPEG segment types that this reader is interested in.void
readJpegSegments(java.lang.Iterable<byte[]> segments, MetadataExtractor.Metadata metadata, MetadataExtractor.JpegSegmentType segmentType)
Extracts metadata from all instances of a particular JPEG segment type.
-
-
-
Method Detail
-
getSegmentTypes
java.lang.Iterable<MetadataExtractor.JpegSegmentType> getSegmentTypes()
Gets the set of JPEG segment types that this reader is interested in.
-
readJpegSegments
void readJpegSegments(java.lang.Iterable<byte[]> segments, MetadataExtractor.Metadata metadata, MetadataExtractor.JpegSegmentType segmentType)
Extracts metadata from all instances of a particular JPEG segment type.- Parameters:
segments
- A sequence of byte arrays from which the metadata should be extracted. These are in the order encountered in the original file.metadata
- TheMetadataExtractor.Metadata
object into which extracted values should be merged.segmentType
- TheMetadataExtractor.JpegSegmentType
being read.
-
-