Package org.eclipse.cdt.utils.spawner
Class SpawnerOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.eclipse.cdt.utils.spawner.SpawnerOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class SpawnerOutputStream extends OutputStream
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Constructor Summary
Constructors Constructor Description SpawnerOutputStream(Spawner.IChannel channel)From a Unix valid file descriptor set a Reader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the Readerprotected voidfinalize()voidwrite(byte[] b, int off, int len)voidwrite(int b)Implementation of read for the InputStream.-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
-
-
-
Constructor Detail
-
SpawnerOutputStream
public SpawnerOutputStream(Spawner.IChannel channel)
From a Unix valid file descriptor set a Reader.- Parameters:
channel- file descriptor.- Since:
- 6.0
-
-
Method Detail
-
write
public void write(byte[] b, int off, int len) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException- See Also:
OutputStream.write(byte[], int, int)
-
write
public void write(int b) throws IOExceptionImplementation of read for the InputStream.- Specified by:
writein classOutputStream- Throws:
IOException- on error.
-
close
public void close() throws IOExceptionClose the Reader- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException- on error.
-
finalize
protected void finalize() throws IOException- Overrides:
finalizein classObject- Throws:
IOException
-
-