Interface OutputStreamWritable


public interface OutputStreamWritable
An object that can read information from an input stream.
Author:
Garret Wilson
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(OutputStream outputStream, URI baseURI)
    Writes to the given output stream.
  • Method Details

    • write

      void write(OutputStream outputStream, URI baseURI) throws 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, or null if no base URI is available.
      Throws:
      IOException - if there is an error writing the information to the output stream.