com.ibm.as400.access

Class SpooledFileOutputStream

  • java.lang.Object
    • java.io.OutputStream
      • com.ibm.as400.access.SpooledFileOutputStream
  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable


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

      Methods 
      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