Class FastStringReader
java.lang.Object
java.io.Reader
com.electronwill.nightconfig.core.utils.FastStringReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
A fast, unsynchronized, simple Reader that reads the content of a String.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
FastStringReader
-
FastStringReader
-
-
Method Details
-
read
public int read() -
read
public int read(char[] cbuf, int off, int len) -
skip
public long skip(long n) -
markSupported
public boolean markSupported()- Overrides:
markSupportedin classReader
-
mark
public void mark(int readAheadLimit) -
reset
public void reset() -
ready
public boolean ready() -
close
public void close()
-