Class TiffDirectory

  • All Implemented Interfaces:
    java.lang.Iterable<TiffField>

    public class TiffDirectory
    extends AbstractTiffElement
    implements java.lang.Iterable<TiffField>
    Provides methods and elements for accessing an Image File Directory (IFD) from a TIFF file. In the TIFF specification, the IFD is the main container for individual images or sets of metadata. While not all Directories contain images, images are always stored in a Directory.
    • Field Detail

      • entries

        private final java.util.List<TiffField> entries
      • headerByteOrder

        private final java.nio.ByteOrder headerByteOrder
        Preserves the byte order derived from the TIFF file header. Some of the legacy methods in this class require byte order as an argument, though that use could be phased out eventually.
      • nextDirectoryOffset

        private final long nextDirectoryOffset
      • type

        public final int type
    • Constructor Detail

      • TiffDirectory

        public TiffDirectory​(int type,
                             java.util.List<TiffField> entries,
                             long offset,
                             long nextDirectoryOffset,
                             java.nio.ByteOrder byteOrder)