org.jnbt
Class ShortTag
java.lang.Object
org.jnbt.Tag
org.jnbt.ShortTag
public final class ShortTag
- extends Tag
The TAG_Short tag.
- Author:
- Graham Edgecombe
|
Constructor Summary |
ShortTag(String name,
short value)
Creates the tag. |
ShortTag
public ShortTag(String name,
short value)
- Creates the tag.
- Parameters:
name - The name.value - The value.
getValue
public Short getValue()
- Description copied from class:
Tag
- Gets the value of this tag.
- Specified by:
getValue in class Tag
- Returns:
- The value of this tag.
toString
public String toString()
- Overrides:
toString in class Object