
Public Member Functions | |
| Metadata | extract (Metadata metadata) |
| Metadata | extract () |
| IptcReader (byte[] data) | |
| IptcReader (File jpegFile) throws JpegProcessingException, FileNotFoundException | |
Private Member Functions | |
| int | get32Bits (int offset) throws MetadataException |
| void | processTag (Directory directory, int directoryType, int tagType, int offset, int tagByteCount) |
Private Attributes | |
| final byte[] | _data |
| IptcReader | ( | File | jpegFile | ) | throws JpegProcessingException, FileNotFoundException |
Creates a new IptcReader for the specified Jpeg jpegFile.
| IptcReader | ( | byte[] | data | ) |
Performs the Exif data extraction, adding found values to the specified instance of Metadata.
Implements MetadataReader.
| Metadata extract | ( | ) |
Performs the Exif data extraction, returning a new instance of Metadata.
Implements MetadataReader.
| int get32Bits | ( | int | offset | ) | throws MetadataException [private] |
Returns an int calculated from two bytes of data at the specified offset (MSB, LSB).
| offset | position within the data buffer to read first byte |
| void processTag | ( | Directory | directory, | |
| int | directoryType, | |||
| int | tagType, | |||
| int | offset, | |||
| int | tagByteCount | |||
| ) | [private] |
This method serves as marsheller of objects for dataset. It converts from IPTC octets to relevant java object.
final byte [] _data [private] |
The Iptc data segment.
1.5.8