com.alibaba.fastjson.parser
类 JSONScanner
java.lang.Object
com.alibaba.fastjson.parser.JSONLexerBase
com.alibaba.fastjson.parser.JSONScanner
- 所有已实现的接口:
- JSONLexer, Closeable
public final class JSONScanner
- extends JSONLexerBase
- 作者:
- wenshao[szujobs@hotmail.com]
| 从类 com.alibaba.fastjson.parser.JSONLexerBase 继承的方法 |
close, config, decimalValue, decimalValue, doubleValue, floatValue, getBufferPosition, getCalendar, getCurrent, getKeyword, integerValue, intValue, isBlankInput, isEnabled, isRef, isWhitespace, longValue, nextIdent, nextToken, nextToken, nextTokenWithChar, nextTokenWithColon, nextTokenWithColon, pos, resetStringPosition, scanEnum, scanFalse, scanIdent, scanInt, scanLong, scanNullOrNew, scanNumber, scanSet, scanString, scanString, scanSymbol, scanSymbol, scanSymbolUnQuoted, scanSymbolWithSeperator, scanTreeSet, scanTrue, scanUndefined, skipWhitespace, stringDefaultValue, token, tokenName |
ISO8601_LEN_0
public final int ISO8601_LEN_0
ISO8601_LEN_1
public final int ISO8601_LEN_1
ISO8601_LEN_2
public final int ISO8601_LEN_2
JSONScanner
public JSONScanner(String input)
JSONScanner
public JSONScanner(String input,
int features)
JSONScanner
public JSONScanner(char[] input,
int inputLength)
JSONScanner
public JSONScanner(char[] input,
int inputLength,
int features)
charAt
public final char charAt(int index)
- 指定者:
- 类
JSONLexerBase 中的 charAt
next
public final char next()
- 指定者:
- 接口
JSONLexer 中的 next - 指定者:
- 类
JSONLexerBase 中的 next
indexOf
public final int indexOf(char ch,
int startIndex)
- 指定者:
- 类
JSONLexerBase 中的 indexOf
addSymbol
public final String addSymbol(int offset,
int len,
int hash,
SymbolTable symbolTable)
- 指定者:
- 类
JSONLexerBase 中的 addSymbol
bytesValue
public byte[] bytesValue()
- 指定者:
- 接口
JSONLexer 中的 bytesValue - 指定者:
- 类
JSONLexerBase 中的 bytesValue
stringVal
public final String stringVal()
- The value of a literal token, recorded as a string. For integers, leading 0x and 'l' suffixes are suppressed.
- 指定者:
- 接口
JSONLexer 中的 stringVal - 指定者:
- 类
JSONLexerBase 中的 stringVal
subString
public final String subString(int offset,
int count)
- 指定者:
- 类
JSONLexerBase 中的 subString
numberString
public final String numberString()
- 指定者:
- 接口
JSONLexer 中的 numberString - 指定者:
- 类
JSONLexerBase 中的 numberString
scanISO8601DateIfMatch
public boolean scanISO8601DateIfMatch()
scanISO8601DateIfMatch
public boolean scanISO8601DateIfMatch(boolean strict)
isEOF
public boolean isEOF()
- 指定者:
- 类
JSONLexerBase 中的 isEOF
Copyright © 2012-2015 Alibaba Group. All Rights Reserved.