Class ReaderCharSource
java.lang.Object
java.io.Reader
java.io.FilterReader
io.github.wasabithumb.jtoml.io.source.ReaderCharSource
- All Implemented Interfaces:
CharSource,Closeable,AutoCloseable,Readable
-
Field Summary
Fields inherited from class java.io.FilterReader
in -
Constructor Summary
ConstructorsConstructorDescriptionReaderCharSource(@NotNull Reader in, @NotNull io.github.wasabithumb.jtoml.option.prop.OrderMarkPolicy bomPolicy) -
Method Summary
Methods inherited from class java.io.FilterReader
mark, markSupported, read, read, ready, reset, skipMethods inherited from class java.io.Reader
nullReader, read, read, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.wasabithumb.jtoml.io.source.CharSource
next, nextChar
-
Constructor Details
-
ReaderCharSource
public ReaderCharSource(@NotNull @NotNull Reader in, @NotNull @NotNull io.github.wasabithumb.jtoml.option.prop.OrderMarkPolicy bomPolicy)
-
-
Method Details
-
didReadBOM
public boolean didReadBOM() -
next
public @org.jetbrains.annotations.Range(from=-1L, to=65535L) int next() throws io.github.wasabithumb.jtoml.except.TomlException- Specified by:
nextin interfaceCharSource- Throws:
io.github.wasabithumb.jtoml.except.TomlException
-
close
public void close() throws io.github.wasabithumb.jtoml.except.TomlIOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCharSource- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterReader- Throws:
io.github.wasabithumb.jtoml.except.TomlIOException
-