Class DeferredEntry

java.lang.Object
org.apache.sis.storage.geotiff.DeferredEntry
All Implemented Interfaces:
Comparable<DeferredEntry>

final class DeferredEntry extends Object implements Comparable<DeferredEntry>
Offset to a TIFF tag entry that has not yet been read.
Since:
0.8
Version:
0.8
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (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

    Constructors
    Constructor
    Description
    DeferredEntry(ImageFileDirectory owner, short tag, Type type, long count, long offset)
    Creates a new deferred entry.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns +1 if this entry is located after the given entry in the TIFF file, or -1 if it is located before.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • owner

      final ImageFileDirectory owner
      Where to add the entry value after it has been read.
    • tag

      final short tag
      The GeoTIFF tag to decode, as an unsigned short.
    • type

      final Type type
      The GeoTIFF type of the value to read.
    • count

      final long count
      The number of values to read.
    • offset

      final long offset
      Offset 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

      public int 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. 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 interface Comparable<DeferredEntry>