Package org.eclipse.cdt.utils.pty
Class PTYOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.cdt.utils.pty.PTYOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Direct Known Subclasses:
ConPTYOutputStream
-
Constructor Summary
ConstructorsConstructorDescriptionFrom a Unix valid file descriptor set a Reader.PTYOutputStream(PTY.MasterFD fd, boolean sendEotBeforeClose) From a Unix valid file descriptor set a Reader. -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
PTYOutputStream
From a Unix valid file descriptor set a Reader.- Parameters:
fd- file descriptor.
-
PTYOutputStream
From a Unix valid file descriptor set a Reader.- Parameters:
fd- file descriptor.sendEotBeforeClose- flags the stream to send an EOT character before closing the stream to signalize end of stream.- Since:
- 5.9
-
-
Method Details
-
write
- Overrides:
writein classOutputStream- Throws:
IOException- See Also:
-
write
Implementation of read for the InputStream.- Specified by:
writein classOutputStream- Throws:
IOException- on error.
-
close
Close the Reader- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException- on error.
-
finalize
- Overrides:
finalizein classObject- Throws:
IOException
-