| 限定符和类型 | 字段和说明 |
|---|---|
protected CharsetDecoder |
m_Decoder |
protected ByteBuffer |
m_InBuffer |
protected CharBuffer |
m_OutBuffer |
protected int |
m_Position |
protected InputStream |
m_Source |
| 构造器和说明 |
|---|
JsonInputStream(InputStream source) |
JsonInputStream(InputStream source,
String charset) |
protected InputStream m_Source
protected CharsetDecoder m_Decoder
protected ByteBuffer m_InBuffer
protected CharBuffer m_OutBuffer
protected int m_Position
public JsonInputStream(InputStream source)
public JsonInputStream(InputStream source, String charset)
protected boolean decode()
throws IOException
IOExceptionpublic int available()
throws IOException
JsonInputavailable 在接口中 JsonInputIOExceptionpublic char readChar()
throws IOException
JsonInputreadChar 在接口中 JsonInputIOExceptionpublic void close()
throws IOException
JsonInputclose 在接口中 JsonInputIOExceptionCopyright © 2020. All rights reserved.