public class ListInput extends AbstractStreamingInput
level| Constructor and Description |
|---|
ListInput(String key,
List<Object> root) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Token |
current()
Get the current token.
|
boolean |
getBoolean()
Get the value as a boolean.
|
double |
getDouble()
Get the value as a double.
|
float |
getFloat()
Get the value as a float.
|
int |
getInt()
Get the value as an integer.
|
long |
getLong()
Get the value as a long.
|
short |
getShort()
Get the value as a short.
|
String |
getString()
Get the current value as a string.
|
Object |
getValue()
Get the current value.
|
Token |
next0() |
Token |
peek()
Peek into the stream and return the next token.
|
protected IOException |
raiseException(String message) |
getByteArray, next, next, setValue, skip, skipValuepublic void close()
throws IOException
IOExceptionprotected IOException raiseException(String message)
raiseException in class AbstractStreamingInputpublic Token peek() throws IOException
StreamingInputIOExceptionpublic Token next0() throws IOException
next0 in class AbstractStreamingInputIOExceptionpublic Token current()
StreamingInputcurrent in interface StreamingInputcurrent in class AbstractStreamingInputpublic Object getValue()
StreamingInputgetValue in interface StreamingInputgetValue in class AbstractStreamingInputpublic String getString()
StreamingInputgetString in interface StreamingInputgetString in class AbstractStreamingInputpublic boolean getBoolean()
StreamingInputgetBoolean in interface StreamingInputgetBoolean in class AbstractStreamingInputpublic double getDouble()
StreamingInputgetDouble in interface StreamingInputgetDouble in class AbstractStreamingInputpublic float getFloat()
StreamingInputgetFloat in interface StreamingInputgetFloat in class AbstractStreamingInputpublic long getLong()
StreamingInputgetLong in interface StreamingInputgetLong in class AbstractStreamingInputpublic int getInt()
StreamingInputgetInt in interface StreamingInputgetInt in class AbstractStreamingInputpublic short getShort()
StreamingInputgetShort in interface StreamingInputgetShort in class AbstractStreamingInputCopyright © 2017. All rights reserved.