Modifier and Type | Field and Description |
---|---|
private static StringTag |
EMPTY |
static TagReader<StringTag> |
READER |
private String |
value |
Modifier | Constructor and Description |
---|---|
private |
StringTag(String value) |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
StringTag |
copy() |
boolean |
equals(Object o) |
static String |
escape(String value) |
TagReader<StringTag> |
getReader() |
byte |
getType() |
int |
hashCode() |
static StringTag |
of(String value) |
String |
toString() |
Text |
toText(String indent,
int depth) |
void |
write(DataOutput output) |
private StringTag(String value)
public void write(DataOutput output) throws IOException
write
in interface Tag
IOException
public String toString()