Class TiffIFDEntry

java.lang.Object
loci.formats.tiff.TiffIFDEntry
All Implemented Interfaces:
Comparable<Object>

public class TiffIFDEntry extends Object implements 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 Details

    • tag

      private int tag
      The Tag that identifies the field.
    • type

      private IFDType type
      The field Type.
    • valueCount

      private int valueCount
      The number of values, Count of the indicated Type.
    • valueOffset

      private long valueOffset
      The Value Offset, the file offset (in bytes) of the Value for the field.
  • Constructor Details

    • TiffIFDEntry

      public TiffIFDEntry(int tag, IFDType type, int valueCount, long valueOffset)
  • Method Details

    • getTag

      public int getTag()
      Retrieves the entry's Tag value.
      Returns:
      the entry's Tag value.
    • getType

      public IFDType 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

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(Object o)
      Specified by:
      compareTo in interface Comparable<Object>