package saker.build.file
public interface StreamWritable
Interface representing content which can be used to write out to a stream.
public void | writeTo( Writes the contents to the parameter stream. |
public default void | Writes the contents to the parameter stream. |
public abstract void writeTo(@RMIWrap(RMIOutputStreamWrapper.class) OutputStream os) throws IOException, NullPointerException
Writes the contents to the parameter stream.
The method implementations mustn't close the argument output.
osThe stream to write the contents to.
IOExceptionIn case of I/O error.
NullPointerExceptionIf the stream is
null
.Writes the contents to the parameter stream.
The method implementations mustn't close the argument output.
sinkThe stream to write the contents to.
IOExceptionIn case of I/O error.
NullPointerExceptionIf the stream is
null
.