Package org.apache.sis.storage.geotiff
Class DeferredEntry
java.lang.Object
org.apache.sis.storage.geotiff.DeferredEntry
- All Implemented Interfaces:
Comparable<DeferredEntry>
Offset to a TIFF tag entry that has not yet been read.
- Since:
- 0.8
- Version:
- 0.8
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final long
The number of values to read.(package private) final long
Offset from beginning of TIFF file where the values are stored.(package private) final ImageFileDirectory
Where to add the entry value after it has been read.(package private) final short
The GeoTIFF tag to decode, as an unsigned short.(package private) final Type
The GeoTIFF type of the value to read. -
Constructor Summary
ConstructorsConstructorDescriptionDeferredEntry
(ImageFileDirectory owner, short tag, Type type, long count, long offset) Creates a new deferred entry. -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(DeferredEntry other) Returns +1 if this entry is located after the given entry in the TIFF file, or -1 if it is located before.
-
Field Details
-
owner
Where to add the entry value after it has been read. -
tag
final short tagThe GeoTIFF tag to decode, as an unsigned short. -
type
The GeoTIFF type of the value to read. -
count
final long countThe number of values to read. -
offset
final long offsetOffset from beginning of TIFF file where the values are stored.
-
-
Constructor Details
-
DeferredEntry
DeferredEntry(ImageFileDirectory owner, short tag, Type type, long count, long offset) Creates a new deferred entry.
-
-
Method Details
-
compareTo
Returns +1 if this entry is located after the given entry in the TIFF file, or -1 if it is located before. A valid TIFF file should not have two entries at the same location, but it is okay for Apache SIS implementation if such case nevertheless happen.- Specified by:
compareTo
in interfaceComparable<DeferredEntry>
-