public interface StreamDataWriter
Writer but without throwing IOExceptions The
purpose of this class is to avoid checked exceptions in every method signature. Implementations
must define their own way to react on IOExceptions YamlOutputStreamWriter| Modifier and Type | Method and Description |
|---|---|
default void |
flush()
Flushes this stream by writing any buffered output to the underlying stream.
|
void |
write(String str)
write the whole data
|
void |
write(String str,
int off,
int len)
Write part of the data
|
default void flush()
void write(String str)
str - - data to writevoid write(String str, int off, int len)
str - - the data to write (the source)off - - offset to start fromlen - - number of chars to writeCopyright © 2018–2022. All rights reserved.