Class FieldTypeShort
- java.lang.Object
-
- org.apache.commons.imaging.formats.tiff.fieldtypes.FieldType
-
- org.apache.commons.imaging.formats.tiff.fieldtypes.FieldTypeShort
-
public class FieldTypeShort extends FieldType
-
-
Field Summary
-
Fields inherited from class org.apache.commons.imaging.formats.tiff.fieldtypes.FieldType
ANY, ASCII, ASCII_OR_BYTE, ASCII_OR_RATIONAL, BYTE, BYTE_OR_SHORT, DOUBLE, FLOAT, IFD, LONG, LONG_OR_IFD, LONG_OR_SHORT, RATIONAL, SBYTE, SHORT, SHORT_OR_LONG, SHORT_OR_LONG_OR_RATIONAL, SHORT_OR_RATIONAL, SLONG, SRATIONAL, SSHORT, UNDEFINED
-
-
Constructor Summary
Constructors Constructor Description FieldTypeShort(int type, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValue(TiffField entry)
byte[]
writeData(Object o, ByteOrder byteOrder)
-
Methods inherited from class org.apache.commons.imaging.formats.tiff.fieldtypes.FieldType
getFieldType, getName, getSize, getType
-
-
-
-
Constructor Detail
-
FieldTypeShort
public FieldTypeShort(int type, String name)
-
-
Method Detail
-
writeData
public byte[] writeData(Object o, ByteOrder byteOrder) throws ImageWriteException
- Specified by:
writeData
in classFieldType
- Throws:
ImageWriteException
-
-