org.jnbt
Class StringTag
java.lang.Object
org.jnbt.Tag
org.jnbt.StringTag
public final class StringTag
- extends Tag
The TAG_String
tag.
- Author:
- Graham Edgecombe
StringTag
public StringTag(String name,
String value)
- Creates the tag.
- Parameters:
name
- The name.value
- The value.
getValue
public String 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