Package com.globalmentor.io
Interface OutputStreamWritable
public interface OutputStreamWritable
An object that can read information from an input stream.
- Author:
- Garret Wilson
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(OutputStream outputStream, URI baseURI) Writes to the given output stream.
-
Method Details
-
write
Writes to the given output stream.Any buffering will likely be done at a higher level and need not be implemented within this method. The given output stream is not closed at the end of this operation.
- Parameters:
outputStream
- The output stream to which the information will be written.baseURI
- The base URI of the data, ornull
if no base URI is available.- Throws:
IOException
- if there is an error writing the information to the output stream.
-