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(java.lang.String name, int tag, TiffDirectoryType directoryType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
encodeValue(java.nio.ByteOrder byteOrder, RationalNumber value)
RationalNumber
getValue(java.nio.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(java.lang.String name, int tag, TiffDirectoryType directoryType)
-
-
Method Detail
-
getValue
public RationalNumber getValue(java.nio.ByteOrder byteOrder, byte[] bytes)
-
encodeValue
public byte[] encodeValue(java.nio.ByteOrder byteOrder, RationalNumber value)
-
-