Class WriterCharTarget
java.lang.Object
java.io.Writer
java.io.FilterWriter
io.github.wasabithumb.jtoml.io.target.WriterCharTarget
- All Implemented Interfaces:
CharTarget,Closeable,Flushable,Appendable,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterWriter
out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()static @NotNull WriterCharTargetof(@NotNull OutputStream out) voidput(char c) voidput(int c) voidput(@NotNull CharSequence cs) Methods inherited from class java.io.FilterWriter
write, write, write
-
Constructor Details
-
WriterCharTarget
-
-
Method Details
-
of
-
put
public void put(int c) throws io.github.wasabithumb.jtoml.except.TomlException - Specified by:
putin interfaceCharTarget- Throws:
io.github.wasabithumb.jtoml.except.TomlException
-
put
public void put(char c) throws io.github.wasabithumb.jtoml.except.TomlException - Specified by:
putin interfaceCharTarget- Throws:
io.github.wasabithumb.jtoml.except.TomlException
-
put
public void put(@NotNull @NotNull CharSequence cs) throws io.github.wasabithumb.jtoml.except.TomlException - Specified by:
putin interfaceCharTarget- Throws:
io.github.wasabithumb.jtoml.except.TomlException
-
flush
public void flush() throws io.github.wasabithumb.jtoml.except.TomlIOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterWriter- Throws:
io.github.wasabithumb.jtoml.except.TomlIOException
-
close
public void close() throws io.github.wasabithumb.jtoml.except.TomlIOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCharTarget- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterWriter- Throws:
io.github.wasabithumb.jtoml.except.TomlIOException
-