Class FieldTypeRational
java.lang.Object
org.apache.commons.imaging.formats.tiff.fieldtypes.AbstractFieldType
org.apache.commons.imaging.formats.tiff.fieldtypes.FieldTypeRational
- 
Field SummaryFields inherited from class org.apache.commons.imaging.formats.tiff.fieldtypes.AbstractFieldTypeANY, 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 SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.commons.imaging.formats.tiff.fieldtypes.AbstractFieldTypegetFieldType, getName, getSize, getType
- 
Constructor Details- 
FieldTypeRational
 
- 
- 
Method Details- 
getValueDescription copied from class:AbstractFieldTypeGets the value from a TIFF field.- Specified by:
- getValuein class- AbstractFieldType
- Parameters:
- entry- the TIFF field.
- Returns:
- the value.
 
- 
writeDataDescription copied from class:AbstractFieldTypeConverts the given object to a byte array.- Specified by:
- writeDatain 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.
 
 
-