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.Readable
read
in class java.io.Reader
public int read()
read
in class java.io.Reader
public int read(@NotNull char[] cbuf)
read
in class java.io.Reader
public int read(@NotNull char[] cbuf, int off, int len)
read
in class java.io.Reader
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Reader
public boolean markSupported()
markSupported
in class java.io.Reader
public void mark(int readAheadLimit)
mark
in class java.io.Reader
public long skip(long n)
skip
in class java.io.Reader
public void reset()
reset
in class java.io.Reader
public abstract java.lang.String toString()
toString
in class java.lang.Object
public int getPos()
public void setPos(int pos)