public class JsonStreamParserImpl extends Object implements JsonChars, javax.json.stream.JsonParser
BACKSPACE, COMMA_CHAR, COMMA_EVENT, CR, DOT, END_ARRAY, END_ARRAY_CHAR, END_OBJECT, END_OBJECT_CHAR, EOF, EOL, ESCAPE_CHAR, EVT_MAP, EXP_LOWERCASE, EXP_UPPERCASE, FALSE_A, FALSE_E, FALSE_F, FALSE_L, FALSE_S, FORMFEED, KEY_NAME, KEY_SEPARATOR, KEY_SEPARATOR_EVENT, MINUS, NINE, NULL, NULL_L, NULL_N, NULL_U, PLUS, QUOTE_CHAR, SPACE, START_ARRAY, START_ARRAY_CHAR, START_OBJECT, START_OBJECT_CHAR, TAB, TRUE_E, TRUE_R, TRUE_T, TRUE_U, VALUE_FALSE, VALUE_NULL, VALUE_NUMBER, VALUE_STRING, VALUE_TRUE, ZERO
Constructor and Description |
---|
JsonStreamParserImpl(InputStream inputStream,
Charset encoding,
int maxStringLength,
BufferStrategy.BufferProvider<char[]> bufferProvider,
BufferStrategy.BufferProvider<char[]> valueBuffer) |
JsonStreamParserImpl(InputStream inputStream,
int maxStringLength,
BufferStrategy.BufferProvider<char[]> bufferProvider,
BufferStrategy.BufferProvider<char[]> valueBuffer) |
JsonStreamParserImpl(Reader reader,
int maxStringLength,
BufferStrategy.BufferProvider<char[]> bufferProvider,
BufferStrategy.BufferProvider<char[]> valueBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
BigDecimal |
getBigDecimal() |
int |
getInt() |
javax.json.stream.JsonLocation |
getLocation() |
long |
getLong() |
String |
getString() |
boolean |
hasNext() |
boolean |
isIntegralNumber() |
javax.json.stream.JsonParser.Event |
next() |
public JsonStreamParserImpl(InputStream inputStream, int maxStringLength, BufferStrategy.BufferProvider<char[]> bufferProvider, BufferStrategy.BufferProvider<char[]> valueBuffer)
public JsonStreamParserImpl(InputStream inputStream, Charset encoding, int maxStringLength, BufferStrategy.BufferProvider<char[]> bufferProvider, BufferStrategy.BufferProvider<char[]> valueBuffer)
public JsonStreamParserImpl(Reader reader, int maxStringLength, BufferStrategy.BufferProvider<char[]> bufferProvider, BufferStrategy.BufferProvider<char[]> valueBuffer)
public final boolean hasNext()
hasNext
in interface javax.json.stream.JsonParser
public final javax.json.stream.JsonParser.Event next()
next
in interface javax.json.stream.JsonParser
public String getString()
getString
in interface javax.json.stream.JsonParser
public boolean isIntegralNumber()
isIntegralNumber
in interface javax.json.stream.JsonParser
public int getInt()
getInt
in interface javax.json.stream.JsonParser
public long getLong()
getLong
in interface javax.json.stream.JsonParser
public BigDecimal getBigDecimal()
getBigDecimal
in interface javax.json.stream.JsonParser
public javax.json.stream.JsonLocation getLocation()
getLocation
in interface javax.json.stream.JsonParser
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface javax.json.stream.JsonParser
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.