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

## Class TagInfoSShort

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

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `encodeValue(ByteOrder byteOrder, short value)`
    `short` | `getValue(ByteOrder byteOrder, byte[] bytes)`

    - ### 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 Detail

    - #### TagInfoSShort

          public TagInfoSShort(String name,
                               int tag,
                               TiffDirectoryType directoryType)

  - ### Method Detail

    - #### getValue

          public short getValue(ByteOrder byteOrder,
                                byte[] bytes)

    - #### encodeValue

          public byte[] encodeValue(ByteOrder byteOrder,
                                    short value)

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.