
Public Member Functions | |
| Metadata | extract (Metadata metadata) |
| Metadata | extract () |
| JpegReader (byte[] data) | |
| JpegReader (File jpegFile) throws JpegProcessingException, FileNotFoundException | |
Private Member Functions | |
| int | get16Bits (int offset) throws MetadataException |
| int | get32Bits (int offset) throws MetadataException |
Private Attributes | |
| final byte[] | _data |
| JpegReader | ( | File | jpegFile | ) | throws JpegProcessingException, FileNotFoundException |
Creates a new JpegReader for the specified Jpeg jpegFile.
| JpegReader | ( | byte[] | data | ) |
Performs the Jpeg data extraction, adding found values to the specified instance of Metadata.
Implements MetadataReader.
| Metadata extract | ( | ) |
Performs the Jpeg data extraction, returning a new instance of Metadata.
Implements MetadataReader.
| int get16Bits | ( | int | offset | ) | throws MetadataException [private] |
Returns an int calculated from one byte of data at the specified offset.
| offset | position within the data buffer to read byte |
| 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 |
final byte [] _data [private] |
The SOF0 data segment.
1.5.8