|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.drew.metadata.exif.ExifReader
public class ExifReader
Decodes Exif binary data, populating a Metadata
object with tag values in ExifSubIFDDirectory
,
ExifThumbnailDirectory
, ExifInteropDirectory
, GpsDirectory
and one of the many camera makernote directories.
Field Summary | |
---|---|
static int |
TAG_EXIF_SUB_IFD_OFFSET
This tag is a pointer to the Exif SubIFD. |
static int |
TAG_GPS_INFO_OFFSET
This tag is a pointer to the Exif GPS IFD. |
static int |
TAG_INTEROP_OFFSET
This tag is a pointer to the Exif Interop IFD. |
static int |
TAG_MAKER_NOTE_OFFSET
This tag is a pointer to the Exif Makernote IFD. |
static int |
TIFF_HEADER_START_OFFSET
|
Constructor Summary | |
---|---|
ExifReader()
|
Method Summary | |
---|---|
void |
extract(BufferReader reader,
Metadata metadata)
Performs the Exif data extraction, adding found values to the specified instance of Metadata . |
void |
extractTiff(BufferReader reader,
Metadata metadata)
Performs the Exif data extraction on a TIFF/RAW, 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 |
Field Detail |
---|
public static final int TAG_EXIF_SUB_IFD_OFFSET
public static final int TAG_INTEROP_OFFSET
public static final int TAG_GPS_INFO_OFFSET
public static final int TAG_MAKER_NOTE_OFFSET
public static final int TIFF_HEADER_START_OFFSET
Constructor Detail |
---|
public ExifReader()
Method Detail |
---|
public void extract(BufferReader reader, Metadata metadata)
Metadata
.
extract
in interface MetadataReader
reader
- The buffer reader from which Exif data should be read.metadata
- The Metadata object into which extracted values should be merged.public void extractTiff(BufferReader reader, Metadata metadata)
Metadata
.
reader
- The BufferReader from which TIFF data should be read.metadata
- The Metadata object into which extracted values should be merged.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |