Class TagInfoSRational
- java.lang.Object
-
- org.apache.commons.imaging.formats.tiff.taginfos.TagInfo
-
- org.apache.commons.imaging.formats.tiff.taginfos.TagInfoSRational
-
public class TagInfoSRational extends TagInfo
-
-
Field Summary
-
Fields inherited from class org.apache.commons.imaging.formats.tiff.taginfos.TagInfo
dataTypes, directoryType, length, LENGTH_UNKNOWN, name, tag
-
-
Constructor Summary
Constructors Constructor Description TagInfoSRational(String name, int tag, TiffDirectoryType directoryType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
encodeValue(ByteOrder byteOrder, RationalNumber value)
RationalNumber
getValue(ByteOrder byteOrder, byte[] bytes)
-
Methods inherited from class org.apache.commons.imaging.formats.tiff.taginfos.TagInfo
encodeValue, getDescription, getValue, isOffset, isText, toString
-
-
-
-
Constructor Detail
-
TagInfoSRational
public TagInfoSRational(String name, int tag, TiffDirectoryType directoryType)
-
-
Method Detail
-
getValue
public RationalNumber getValue(ByteOrder byteOrder, byte[] bytes)
-
encodeValue
public byte[] encodeValue(ByteOrder byteOrder, RationalNumber value)
-
-