Interface StreamDataWriter
- All Known Implementing Classes:
StreamToStringWriter, StreamToStringWriter, YamlOutputStreamWriter
public interface StreamDataWriter
Writer with the same methods as in
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-
Method Summary
-
Method Details
-
flush
default void flush()Flushes this stream by writing any buffered output to the underlying stream. -
write
-
write
Write part of the data- Parameters:
str- - the data to write (the source)off- - offset to start fromlen- - number of chars to write
-