Class SpooledFileOutputStream

  • java.lang.Object
  • All Implemented Interfaces:,

    public class SpooledFileOutputStream
    The SpooledFileOutputStream class is used to write data into a spooled file.
    • Method Summary

      Modifier and Type Method and Description
      void close()
      Closes the stream.
      void flush()
      Flushes the stream.
      SpooledFile getSpooledFile()
      Returns the spooled file that was created (or is being created) with this output stream.
      void write(byte[] data)
      Writes data.length bytes of data from the byte array data to the spooled file.
      void write(byte[] data, int offset, int length)
      Writes up to length bytes of data from the byte array data, starting at offset, to this spooled file.
      void write(int b)
      Writes a byte of data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait