rebuild.graphics.tiff.tags
Class SByteTag

java.lang.Object
  extended by rebuild.graphics.tiff.Tag
      extended by rebuild.graphics.tiff.tags.ByteTag
          extended by rebuild.graphics.tiff.tags.SByteTag

public class SByteTag
extends ByteTag

A tag that contains one or more Writer.SBYTE items.

Since:
BBX 1.0.1

Field Summary
 
Fields inherited from class rebuild.graphics.tiff.Tag
count, data, dataType, value
 
Constructor Summary
SByteTag(short tag)
          Create a new SByteTag.
SByteTag(short tag, byte val)
          Create a new SByteTag.
SByteTag(short tag, byte[] val)
          Create a new SByteTag.
 
Method Summary
 byte getSByte(int index)
          Get a Writer.SBYTE at the specified index.
 void setSByte(int index, byte val)
          Set a Writer.SBYTE at the specified index.
 
Methods inherited from class rebuild.graphics.tiff.tags.ByteTag
extraData, getByte, hasDefault, isDefault, setByte, setCount, setDataType, setExtraData, setupForBigTIFF, writeData
 
Methods inherited from class rebuild.graphics.tiff.Tag
equals, getBigCount, getBigValue, getCount, getDataType, getExtraData, getIfExtraDataExists, getTagType, getTagTypeValue, getValue, hashCode, setCount, setValue, setValue, toString, write, write, write, write, writeBig
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SByteTag

public SByteTag(short tag)
Create a new SByteTag.

Parameters:
tag - The tag value.

SByteTag

public SByteTag(short tag,
                byte val)
Create a new SByteTag.

Parameters:
tag - The tag value.
val - The value the tag should store.

SByteTag

public SByteTag(short tag,
                byte[] val)
Create a new SByteTag.

Parameters:
tag - The tag value.
val - The values the tag should store.
Method Detail

getSByte

public final byte getSByte(int index)
Get a Writer.SBYTE at the specified index.

Parameters:
index - The index to get the Writer.SBYTE.
Returns:
The Writer.SBYTE at the specified index.

setSByte

public final void setSByte(int index,
                           byte val)
Set a Writer.SBYTE at the specified index.

Parameters:
index - The index to set the Writer.SBYTE.
val - The Writer.SBYTE to set at the specified index.