Package mil.nga.tiff
Class FileDirectoryEntry
- java.lang.Object
-
- mil.nga.tiff.FileDirectoryEntry
-
- All Implemented Interfaces:
Comparable<FileDirectoryEntry>
public class FileDirectoryEntry extends Object implements Comparable<FileDirectoryEntry>
TIFF File Directory Entry- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description FileDirectoryEntry(FieldTagType fieldTag, FieldType fieldType, long typeCount, Object values)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(FileDirectoryEntry other)
boolean
equals(Object obj)
FieldTagType
getFieldTag()
Get the field tag typeFieldType
getFieldType()
Get the field typelong
getTypeCount()
Get the type countObject
getValues()
Get the valuesint
hashCode()
long
sizeOfValues()
Size of the values not included in the directory entry byteslong
sizeWithValues()
Size in bytes of the image file directory entry and its values (not contiguous bytes)
-
-
-
Constructor Detail
-
FileDirectoryEntry
public FileDirectoryEntry(FieldTagType fieldTag, FieldType fieldType, long typeCount, Object values)
Constructor- Parameters:
fieldTag
- field tag typefieldType
- field typetypeCount
- type countvalues
- values
-
-
Method Detail
-
getFieldTag
public FieldTagType getFieldTag()
Get the field tag type- Returns:
- field tag type
-
getFieldType
public FieldType getFieldType()
Get the field type- Returns:
- field type
-
getTypeCount
public long getTypeCount()
Get the type count- Returns:
- type count
-
getValues
public Object getValues()
Get the values- Returns:
- values
-
sizeWithValues
public long sizeWithValues()
Size in bytes of the image file directory entry and its values (not contiguous bytes)- Returns:
- size in bytes
-
sizeOfValues
public long sizeOfValues()
Size of the values not included in the directory entry bytes- Returns:
- size in bytes
-
compareTo
public int compareTo(FileDirectoryEntry other)
- Specified by:
compareTo
in interfaceComparable<FileDirectoryEntry>
-
-