Ignore:
Timestamp:
2015-04-21T00:42:50+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #11359 - update to metadata-extractor 2.8.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/drew/imaging/jpeg/JpegSegmentMetadataReader.java

    r8132 r8243  
    1616
    1717    /**
    18      * Gets a value indicating whether the supplied byte data can be processed by this reader. This is not a guarantee
    19      * that no errors will occur, but rather a best-effort indication of whether the parse is likely to succeed.
    20      * Implementations are expected to check things such as the opening bytes, data length, etc.
    21      */
    22     public boolean canProcess(@NotNull final byte[] segmentBytes, @NotNull final JpegSegmentType segmentType);
    23 
    24     /**
    25      * Extracts metadata from a JPEG segment's byte array and merges it into the specified {@link Metadata} object.
     18     * Extracts metadata from all instances of a particular JPEG segment type.
    2619     *
    27      * @param segmentBytes The byte array from which the metadata should be extracted.
     20     * @param segments A sequence of byte arrays from which the metadata should be extracted. These are in the order
     21     *                 encountered in the original file.
    2822     * @param metadata The {@link Metadata} object into which extracted values should be merged.
    2923     * @param segmentType The {@link JpegSegmentType} being read.
    3024     */
    31     public void extract(@NotNull final byte[] segmentBytes, @NotNull final Metadata metadata, @NotNull final JpegSegmentType segmentType);
     25    public void readJpegSegments(@NotNull final Iterable<byte[]> segments, @NotNull final Metadata metadata, @NotNull final JpegSegmentType segmentType);
    3226}
Note: See TracChangeset for help on using the changeset viewer.