Class WrapperProcessOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class WrapperProcessOutputStream
    extends java.io.OutputStream
    The OutputStream Class of a WrapperProcess, representing all the data the ChildProcess read from the Wrapper.
    Since:
    Wrapper 3.4.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Closes the OutputStream.
      void write​(int b)
      Writes a byte to the Stream.
      • Methods inherited from class java.io.OutputStream

        flush, nullOutputStream, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • write

        public void write​(int b)
                   throws java.io.IOException
        Writes a byte to the Stream.
        Specified by:
        write in class java.io.OutputStream
        Parameters:
        b - byte to write.
        Throws:
        java.io.IOException - in case the stream has been already closed or any other IO error.
        WrapperLicenseError - If the function is called other than in the Professional Edition or from a Standalone JVM.
      • close

        public void close()
                   throws java.io.IOException
        Closes the OutputStream.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.OutputStream
        Throws:
        java.io.IOException - If there were any problems closing the stream.
        WrapperLicenseError - If the function is called other than in the Professional Edition or from a Standalone JVM.