Class FieldTypeLong8


  • public class FieldTypeLong8
    extends AbstractFieldType
    Provides an implementation of the 8-byte integer field type specified by the BigTIFF extensions to the TIFF format.
    • Constructor Detail

      • FieldTypeLong8

        public FieldTypeLong8​(int type,
                              java.lang.String name)
    • Method Detail

      • getValue

        public java.lang.Object getValue​(TiffField entry)
        Gets the value(s) for this field in the form of an array of long integers.
        Specified by:
        getValue in class AbstractFieldType
        Parameters:
        entry - the TIFF field as obtained from the source file.
        Returns:
        a valid, potentially empty array of Java long integers.
      • writeData

        public byte[] writeData​(java.lang.Object o,
                                java.nio.ByteOrder byteOrder)
                         throws ImagingException
        Description copied from class: AbstractFieldType
        Converts the given object to a byte array.
        Specified by:
        writeData in class AbstractFieldType
        Parameters:
        o - input.
        byteOrder - output byte order; not used by all subclasses.
        Returns:
        a byte array.
        Throws:
        ImagingException - Thrown on a bad input.