|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.drew.metadata.iptc.IptcReader
public class IptcReader
Decodes IPTC binary data, populating a Metadata
object with tag values in an IptcDirectory
.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
public Metadata extract()
Metadata
.
extract
in interface MetadataReader
public Metadata extract(Metadata metadata)
Metadata
.
extract
in interface MetadataReader
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |