Interface JpegSegmentMetadataReader

    • Method Detail

      • getSegmentTypes

        java.lang.Iterable<JpegSegmentType> getSegmentTypes()
        Gets the set of JPEG segment types that this reader is interested in.
      • readJpegSegments

        void readJpegSegments​(java.lang.Iterable<byte[]> segments,
                              Metadata metadata,
                              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 - The Metadata object into which extracted values should be merged.
        segmentType - The JpegSegmentType being read.