Class FieldTypeByte

    • Constructor Detail

      • FieldTypeByte

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

      • getValue

        public java.lang.Object getValue​(TiffField entry)
        Description copied from class: AbstractFieldType
        Gets the value from a TIFF field.
        Specified by:
        getValue in class AbstractFieldType
        Parameters:
        entry - the TIFF field.
        Returns:
        the value.
      • 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.