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
| 从类 com.alibaba.fastjson.parser.JSONLexerBase 继承的方法 |
close, 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, scanFieldDouble, scanFieldDouble, scanFieldFloat, scanFloat, scanIdent, scanInt, scanLong, scanNullOrNew, scanNumber, scanSet, scanString, scanString, scanStringArray, 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
scanType
public final int scanType(String type)
- 覆盖:
- 类
JSONLexerBase 中的 scanType
charArrayCompare
public final boolean charArrayCompare(char[] chars)
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
scanFieldInt
public int scanFieldInt(char[] fieldName)
- 覆盖:
- 类
JSONLexerBase 中的 scanFieldInt
scanFieldString
public String scanFieldString(char[] fieldName)
- 覆盖:
- 类
JSONLexerBase 中的 scanFieldString
scanFieldSymbol
public String scanFieldSymbol(char[] fieldName,
SymbolTable symbolTable)
- 覆盖:
- 类
JSONLexerBase 中的 scanFieldSymbol
scanFieldStringArray
public Collection<String> scanFieldStringArray(char[] fieldName,
Class<?> type)
- 覆盖:
- 类
JSONLexerBase 中的 scanFieldStringArray
scanFieldLong
public long scanFieldLong(char[] fieldName)
- 覆盖:
- 类
JSONLexerBase 中的 scanFieldLong
scanFieldBoolean
public boolean scanFieldBoolean(char[] fieldName)
- 覆盖:
- 类
JSONLexerBase 中的 scanFieldBoolean
Copyright © 2012-2014 Alibaba Group. All Rights Reserved.