com.drew.metadata.iptc

Class IptcReader

public class IptcReader extends Object implements MetadataReader

Constructor Summary
IptcReader(File jpegFile)
Creates a new IptcReader for the specified Jpeg jpegFile.
IptcReader(InputStream is)
Creates an IptcReader for a JPEG stream.
IptcReader(byte[] data)
Method Summary
Metadataextract()
Performs the Exif data extraction, returning a new instance of Metadata.
Metadataextract(Metadata metadata)
Performs the Exif data extraction, adding found values to the specified instance of Metadata.

Constructor Detail

IptcReader

public IptcReader(File jpegFile)
Creates a new IptcReader for the specified Jpeg jpegFile.

IptcReader

public IptcReader(InputStream is)
Creates an IptcReader for a JPEG stream.

Parameters: is JPEG stream. Stream will be closed.

IptcReader

public IptcReader(byte[] data)

Method Detail

extract

public Metadata extract()
Performs the Exif data extraction, returning a new instance of Metadata.

extract

public Metadata extract(Metadata metadata)
Performs the Exif data extraction, adding found values to the specified instance of Metadata.
Copyright © 2006 Drew Noakes. All Rights Reserved.