com.drew.metadata.jpeg
Class JpegCommentReader

java.lang.Object
  extended by com.drew.metadata.jpeg.JpegCommentReader
All Implemented Interfaces:
MetadataReader

public class JpegCommentReader
extends Object
implements MetadataReader

Decodes the comment stored within Jpeg files, populating a Metadata object with tag values in a JpegCommentDirectory.

Author:
Drew Noakes http://drewnoakes.com

Constructor Summary
JpegCommentReader()
           
 
Method Summary
 void extract(BufferReader reader, Metadata metadata)
          Performs the Jpeg data extraction, adding found values to the specified instance of Metadata.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpegCommentReader

public JpegCommentReader()
Method Detail

extract

public void extract(BufferReader reader,
                    Metadata metadata)
Performs the Jpeg data extraction, adding found values to the specified instance of Metadata.

Specified by:
extract in interface MetadataReader
Parameters:
reader - The reader from which the metadata should be extracted.
metadata - The Metadata object into which extracted values should be merged.


Copyright © 2012. All Rights Reserved.