Package de.kappich.sys.funclib.json
Class JsonReader
java.lang.Object
java.io.Reader
de.kappich.sys.funclib.json.JsonReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
- Direct Known Subclasses:
JsonCharSequenceReader
,JsonReaderReader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static JsonReader
static JsonReader
fromReader
(Reader s) int
getPos()
void
mark
(int readAheadLimit) boolean
int
read()
int
read
(char[] cbuf) int
read
(char[] cbuf, int off, int len) int
read
(CharBuffer target) void
reset()
void
setPos
(int pos) long
skip
(long n) abstract String
toString()
Methods inherited from class java.io.Reader
nullReader, ready, transferTo
-
Field Details
-
_pos
protected int _pos
-
-
Constructor Details
-
JsonReader
public JsonReader()
-
-
Method Details
-
fromCharSequence
-
fromReader
-
read
-
read
public int read() -
read
public int read(@NotNull char[] cbuf) -
read
public int read(@NotNull char[] cbuf, int off, int len) -
close
public void close() -
markSupported
public boolean markSupported()- Overrides:
markSupported
in classReader
-
mark
public void mark(int readAheadLimit) -
skip
public long skip(long n) -
reset
public void reset() -
toString
-
getPos
public int getPos() -
setPos
public void setPos(int pos)
-