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 TypeMethodDescriptionvoidclose()static JsonReaderstatic JsonReaderfromReader(Reader s) intgetPos()voidmark(int readAheadLimit) booleanintread()intread(char[] cbuf) intread(char[] cbuf, int off, int len) intread(CharBuffer target) voidreset()voidsetPos(int pos) longskip(long n) abstract StringtoString()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:
markSupportedin 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)
-