com.alibaba.fastjson.parser
类 JSONReaderScanner
java.lang.Object
com.alibaba.fastjson.parser.JSONLexerBase
com.alibaba.fastjson.parser.JSONReaderScanner
- 所有已实现的接口:
- JSONLexer, Closeable
public final class JSONReaderScanner
- extends JSONLexerBase
- 作者:
- wenshao
| 从类 com.alibaba.fastjson.parser.JSONLexerBase 继承的方法 |
config, decimalValue, decimalValue, doubleValue, floatValue, getBufferPosition, getCalendar, getCurrent, integerValue, intValue, isBlankInput, isEnabled, isRef, isWhitespace, longValue, matchField, matchStat, nextIdent, nextToken, nextToken, nextTokenWithChar, nextTokenWithChar, nextTokenWithColon, nextTokenWithColon, nextTokenWithComma, nextTokenWithComma, numberValue, pos, resetStringPosition, scanBoolean, scanEnum, scanFalse, scanFieldBoolean, scanFieldDouble, scanFieldDouble, scanFieldFloat, scanFieldInt, scanFieldLong, scanFieldString, scanFieldStringArray, scanFieldSymbol, scanFloat, scanIdent, scanInt, scanLong, scanNullOrNew, scanNumber, scanSet, scanString, scanString, scanStringArray, scanSymbol, scanSymbol, scanSymbolUnQuoted, scanSymbolWithSeperator, scanTreeSet, scanTrue, scanType, scanUndefined, skipWhitespace, stringDefaultValue, token, tokenName |
BUF_INIT_LEN
public static int BUF_INIT_LEN
JSONReaderScanner
public JSONReaderScanner(String input)
JSONReaderScanner
public JSONReaderScanner(String input,
int features)
JSONReaderScanner
public JSONReaderScanner(char[] input,
int inputLength)
JSONReaderScanner
public JSONReaderScanner(Reader reader)
JSONReaderScanner
public JSONReaderScanner(Reader reader,
int features)
JSONReaderScanner
public JSONReaderScanner(char[] input,
int inputLength,
int features)
charAt
public final char charAt(int index)
- 指定者:
- 类
JSONLexerBase 中的 charAt
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
next
public final char next()
- 指定者:
- 接口
JSONLexer 中的 next - 指定者:
- 类
JSONLexerBase 中的 next
charArrayCompare
public final boolean charArrayCompare(char[] chars)
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
close
public void close()
- 指定者:
- 接口
JSONLexer 中的 close - 指定者:
- 接口
Closeable 中的 close - 覆盖:
- 类
JSONLexerBase 中的 close
isEOF
public boolean isEOF()
- 指定者:
- 类
JSONLexerBase 中的 isEOF
Copyright © 2012-2014 Alibaba Group. All Rights Reserved.