public class IptcReader extends java.lang.Object implements MetadataReader
Metadata
object with tag values in an IptcDirectory
.Constructor and Description |
---|
IptcReader(byte[] data)
Creates an IptcReader for the given IPTC data segment.
|
IptcReader(java.io.File jpegFile)
Deprecated.
Not all files will be Jpegs! Use a constructor that provides the IPTC segment in isolation.
|
IptcReader(java.io.InputStream jpegInputStream)
Deprecated.
Not all files will be Jpegs! Use a constructor that provides the IPTC segment in isolation.
|
Modifier and Type | Method and Description |
---|---|
Metadata |
extract()
Performs the Exif data extraction, returning a new instance of
Metadata . |
Metadata |
extract(Metadata metadata)
Performs the Exif data extraction, adding found values to the specified
instance of
Metadata . |
public IptcReader(java.io.File jpegFile) throws JpegProcessingException
JpegProcessingException
public IptcReader(java.io.InputStream jpegInputStream) throws JpegProcessingException
jpegInputStream
- JPEG stream. Stream will be closed.JpegProcessingException
public IptcReader(byte[] data)
public Metadata extract()
Metadata
.extract
in interface MetadataReader
public Metadata extract(Metadata metadata)
Metadata
.extract
in interface MetadataReader
Copyright © 2006 Drew Noakes. All Rights Reserved.