public interface JSONLexer
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
bytesValue() |
void |
close() |
void |
config(Feature feature,
boolean state) |
BigDecimal |
decimalValue() |
Number |
decimalValue(boolean decimal) |
double |
doubleValue() |
float |
floatValue() |
int |
getBufferPosition() |
Calendar |
getCalendar() |
char |
getCurrent() |
void |
incrementBufferPosition() |
Number |
integerValue() |
int |
intValue() |
boolean |
isBlankInput() |
boolean |
isEnabled(Feature feature) |
boolean |
isEOF() |
boolean |
isResetFlag() |
long |
longValue() |
void |
nextToken() |
void |
nextToken(int expect) |
void |
nextTokenWithColon(int expect) |
String |
numberString() |
int |
pos() |
void |
resetStringPosition() |
boolean |
scanISO8601DateIfMatch() |
void |
scanNumber() |
void |
scanString() |
String |
scanSymbol(SymbolTable symbolTable) |
String |
scanSymbol(SymbolTable symbolTable,
char quote) |
String |
scanSymbolUnQuoted(SymbolTable symbolTable) |
void |
setResetFlag(boolean resetFlag) |
void |
skipWhitespace() |
String |
stringVal() |
String |
symbol(SymbolTable symbolTable) |
int |
token() |
String |
tokenName() |
boolean isResetFlag()
void setResetFlag(boolean resetFlag)
void nextToken()
void nextToken(int expect)
int token()
String tokenName()
int pos()
int getBufferPosition()
String stringVal()
Number integerValue()
void nextTokenWithColon(int expect)
BigDecimal decimalValue()
Number decimalValue(boolean decimal)
double doubleValue()
float floatValue()
void config(Feature feature, boolean state)
boolean isEnabled(Feature feature)
String numberString()
boolean isEOF()
String symbol(SymbolTable symbolTable)
boolean isBlankInput()
char getCurrent()
void skipWhitespace()
void incrementBufferPosition()
String scanSymbol(SymbolTable symbolTable)
String scanSymbol(SymbolTable symbolTable, char quote)
void resetStringPosition()
String scanSymbolUnQuoted(SymbolTable symbolTable)
void scanString()
void scanNumber()
boolean scanISO8601DateIfMatch()
Calendar getCalendar()
int intValue()
throws NumberFormatException
long longValue()
throws NumberFormatException
byte[] bytesValue()
void close()
Copyright © 2012-2013 Alibaba Group. All Rights Reserved.