Package loci.formats.tiff
Class TiffIFDEntry
java.lang.Object
loci.formats.tiff.TiffIFDEntry
- All Implemented Interfaces:
Comparable<Object>
This class represents a single raw TIFF IFD entry. It does not retrieve or
store the values from the entry's specific offset and is based on the TIFF
6.0 specification of an IFD entry.
- Author:
- Chris Allan callan at blackcat.ca
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intThe Tag that identifies the field.private IFDTypeThe field Type.private intThe number of values, Count of the indicated Type.private longThe Value Offset, the file offset (in bytes) of the Value for the field. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tag
private int tagThe Tag that identifies the field. -
type
The field Type. -
valueCount
private int valueCountThe number of values, Count of the indicated Type. -
valueOffset
private long valueOffsetThe Value Offset, the file offset (in bytes) of the Value for the field.
-
-
Constructor Details
-
TiffIFDEntry
-
-
Method Details
-
getTag
public int getTag()Retrieves the entry's Tag value.- Returns:
- the entry's Tag value.
-
getType
Retrieves the entry's Type value.- Returns:
- the entry's Type value.
-
getValueCount
public int getValueCount()Retrieves the entry's ValueCount value.- Returns:
- the entry's ValueCount value.
-
getValueOffset
public long getValueOffset()Retrieves the entry's ValueOffset value.- Returns:
- the entry's ValueOffset value.
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<Object>
-