Class FieldTypeLong
java.lang.Object
org.apache.commons.imaging.formats.tiff.fieldtypes.AbstractFieldType
org.apache.commons.imaging.formats.tiff.fieldtypes.FieldTypeLong
-
Field Summary
Fields inherited from class org.apache.commons.imaging.formats.tiff.fieldtypes.AbstractFieldType
ANY, ASCII, ASCII_OR_BYTE, ASCII_OR_RATIONAL, BYTE, BYTE_OR_SHORT, DOUBLE, FLOAT, IFD, IFD8, LONG, LONG_OR_IFD, LONG_OR_SHORT, LONG8, RATIONAL, SBYTE, SHORT, SHORT_OR_LONG, SHORT_OR_LONG_OR_RATIONAL, SHORT_OR_RATIONAL, SLONG, SLONG8, SRATIONAL, SSHORT, UNDEFINED
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.imaging.formats.tiff.fieldtypes.AbstractFieldType
getFieldType, getName, getSize, getType
-
Constructor Details
-
FieldTypeLong
-
-
Method Details
-
getValue
Description copied from class:AbstractFieldType
Gets the value from a TIFF field.- Specified by:
getValue
in classAbstractFieldType
- Parameters:
entry
- the TIFF field.- Returns:
- the value.
-
writeData
Description copied from class:AbstractFieldType
Converts the given object to a byte array.- Specified by:
writeData
in classAbstractFieldType
- Parameters:
o
- input.byteOrder
- output byte order; not used by all subclasses.- Returns:
- a byte array.
- Throws:
ImagingException
- Thrown on a bad input.
-