Package com.globalmentor.io
Interface OutputStreamWritable
-
public interface OutputStreamWritable
An object that can read information from an input stream.- Author:
- Garret Wilson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
write(java.io.OutputStream outputStream, java.net.URI baseURI)
Writes to the given output stream.
-
-
-
Method Detail
-
write
void write(java.io.OutputStream outputStream, java.net.URI baseURI) throws java.io.IOException
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:
java.io.IOException
- if there is an error writing the information to the output stream.
-
-