public class IFDEntry extends Object
Each 12-byte IFD entry has the following format:
| Constructor and Description |
|---|
IFDEntry(int tagNumber,
int typeNumber,
long count,
long valueOffset,
long entryOffset) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount() |
Object |
getData() |
long |
getDataOffset()
The offset to the data.
|
long |
getEntryOffset() |
long |
getIFDOffset() |
long |
getLength() |
int |
getTagNumber() |
int |
getTypeNumber() |
long |
getValueOffset()
The value offset may either contain the data or point to the data
depending on the type and the count.
|
boolean |
isDataInValueOffset() |
void |
loadData(TIFFInputStream in) |
Object |
readData(TIFFInputStream in)
Reads value data with ifdDataOffset=0
|
Object |
readData(TIFFInputStream in,
long ifdDataOffset)
Reads value data with the specified ifdDataOffset.
|
void |
setIFDOffset(long newValue) |
String |
toString()
FIXME Output is used by EXIFView
|
String |
toString(Enum tagName) |
public IFDEntry(int tagNumber,
int typeNumber,
long count,
long valueOffset,
long entryOffset)
public long getCount()
public int getTagNumber()
public int getTypeNumber()
public long getValueOffset()
public long getDataOffset()
public void setIFDOffset(long newValue)
public long getEntryOffset()
public long getIFDOffset()
public boolean isDataInValueOffset()
public long getLength()
public Object readData(TIFFInputStream in) throws IOException
IOExceptionpublic Object readData(TIFFInputStream in, long ifdDataOffset) throws IOException
IOExceptionpublic void loadData(TIFFInputStream in) throws IOException
IOExceptionpublic Object getData()
public String toString()
Copyright © 2014. All Rights Reserved.