Package org.tanukisoftware.wrapper
Class WrapperProcessOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.tanukisoftware.wrapper.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.
-
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException
Writes a byte to the Stream.- Specified by:
write
in classjava.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 interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.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.
-
-