public abstract class JsonReader
extends java.io.Reader
| Modifier and Type | Field and Description |
|---|---|
protected int |
_pos |
| Constructor and Description |
|---|
JsonReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static JsonReader |
fromCharSequence(java.lang.CharSequence s) |
static JsonReader |
fromReader(java.io.Reader s) |
int |
getPos() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(char[] cbuf) |
int |
read(char[] cbuf,
int off,
int len) |
int |
read(java.nio.CharBuffer target) |
void |
reset() |
void |
setPos(int pos) |
long |
skip(long n) |
abstract java.lang.String |
toString() |
public static JsonReader fromCharSequence(java.lang.CharSequence s)
public static JsonReader fromReader(java.io.Reader s)
public int read(@NotNull
java.nio.CharBuffer target)
read in interface java.lang.Readableread in class java.io.Readerpublic int read()
read in class java.io.Readerpublic int read(@NotNull
char[] cbuf)
read in class java.io.Readerpublic int read(@NotNull
char[] cbuf,
int off,
int len)
read in class java.io.Readerpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Readerpublic boolean markSupported()
markSupported in class java.io.Readerpublic void mark(int readAheadLimit)
mark in class java.io.Readerpublic long skip(long n)
skip in class java.io.Readerpublic void reset()
reset in class java.io.Readerpublic abstract java.lang.String toString()
toString in class java.lang.Objectpublic int getPos()
public void setPos(int pos)