public class JsonStringReader extends JsonReader
| 构造器和说明 |
|---|
JsonStringReader(String str) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
decreasePosition() |
void |
increasePosition() |
boolean |
isArray() |
boolean |
isColon() |
boolean |
isComma() |
boolean |
isEmptyArray()
Invokes it after isArray() and resets index
|
boolean |
isEmptyObject()
Invokes it after isObject() and resets index
|
boolean |
isEnd() |
boolean |
isEndFlag(char ch) |
boolean |
isNull()
Judges null and resets index
|
boolean |
isObject() |
boolean |
isString() |
void |
mark(int readAheadLimit) |
int |
position() |
int |
read() |
int |
read(char[] cbuf,
int off,
int len) |
char |
readAndSkipBlank() |
BigDecimal |
readBigDecimal() |
BigInteger |
readBigInteger() |
boolean |
readBoolean() |
char[] |
readChars() |
double |
readDouble() |
char[] |
readField(char[] chs) |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
String |
readString() |
String |
readValueAsString() |
void |
reset() |
void |
skipValue() |
markSupportedpublic JsonStringReader(String str)
public void increasePosition()
increasePosition 在类中 JsonReaderpublic void decreasePosition()
decreasePosition 在类中 JsonReaderpublic int position()
position 在类中 JsonReaderpublic boolean isEnd()
isEnd 在类中 JsonReaderpublic boolean isEndFlag(char ch)
isEndFlag 在类中 JsonReaderpublic boolean isString()
isString 在类中 JsonReaderpublic boolean isArray()
isArray 在类中 JsonReaderpublic boolean isEmptyArray()
JsonReaderisEmptyArray 在类中 JsonReaderpublic boolean isObject()
isObject 在类中 JsonReaderpublic boolean isEmptyObject()
JsonReaderisEmptyObject 在类中 JsonReaderpublic boolean isColon()
isColon 在类中 JsonReaderpublic boolean isComma()
isComma 在类中 JsonReaderpublic boolean isNull()
JsonReaderisNull 在类中 JsonReaderpublic char readAndSkipBlank()
readAndSkipBlank 在类中 JsonReaderpublic boolean readBoolean()
readBoolean 在类中 JsonReaderpublic int readInt()
readInt 在类中 JsonReaderpublic long readLong()
readLong 在类中 JsonReaderpublic String readValueAsString()
readValueAsString 在类中 JsonReaderpublic BigInteger readBigInteger()
readBigInteger 在类中 JsonReaderpublic BigDecimal readBigDecimal()
readBigDecimal 在类中 JsonReaderpublic double readDouble()
readDouble 在类中 JsonReaderpublic float readFloat()
readFloat 在类中 JsonReaderpublic char[] readField(char[] chs)
readField 在类中 JsonReaderpublic char[] readChars()
readChars 在类中 JsonReaderpublic void skipValue()
skipValue 在类中 JsonReaderpublic String readString()
readString 在类中 JsonReaderpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read 在类中 ReaderIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 ReaderIOExceptionCopyright © 2016. All rights reserved.