Package org.apache.commons.imaging.formats.tiff.taginfos

# Class TagInfoShortOrRational

java.lang.Object
org.apache.commons.imaging.formats.tiff.taginfos.TagInfo
org.apache.commons.imaging.formats.tiff.taginfos.TagInfoShortOrRational

public class TagInfoShortOrRational 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
  `TagInfoShortOrRational(String name, int tag, int length, TiffDirectoryType directoryType)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `encodeValue(ByteOrder byteOrder, short... values)`
  `byte[]`
  `encodeValue(ByteOrder byteOrder, RationalNumber... values)`

  ### Methods inherited from class org.apache.commons.imaging.formats.tiff.taginfos.TagInfo

  `encodeValue, getDescription, getValue, isOffset, isText, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### TagInfoShortOrRational

    public TagInfoShortOrRational(String name, int tag, int length, TiffDirectoryType directoryType)

- ## Method Details

  - ### encodeValue

    public byte[] encodeValue(ByteOrder byteOrder, RationalNumber... values)

  - ### encodeValue

    public byte[] encodeValue(ByteOrder byteOrder, short... values)