public class StringReader_v1_12
extends java.lang.Object
| Constructor and Description |
|---|
StringReader_v1_12(java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead() |
boolean |
canRead(int count) |
char |
charAt(int offset) |
int |
getIndex() |
java.lang.String |
getString() |
protected boolean |
isQuote(char c) |
void |
jumpTo(char wanted) |
char |
peek() |
char |
read() |
double |
readDouble() |
int |
readInt() |
java.lang.String |
readQuotedString() |
java.lang.String |
readString() |
java.lang.String |
readUnquotedString() |
void |
skip() |
void |
skipWhitespaces() |
public java.lang.String getString()
public int getIndex()
public char read()
public char charAt(int offset)
public char peek()
public void skip()
public boolean canRead()
public boolean canRead(int count)
public void skipWhitespaces()
public int readInt()
throws SNbtDeserializeException
SNbtDeserializeExceptionpublic double readDouble()
throws SNbtDeserializeException
SNbtDeserializeExceptionpublic java.lang.String readString()
throws SNbtDeserializeException
SNbtDeserializeExceptionpublic java.lang.String readUnquotedString()
public java.lang.String readQuotedString()
throws SNbtDeserializeException
SNbtDeserializeExceptionpublic void jumpTo(char wanted)
throws SNbtDeserializeException
SNbtDeserializeExceptionprotected boolean isQuote(char c)