public class PTYOutputStream extends OutputStream
| Constructor and Description |
|---|
PTYOutputStream(PTY.MasterFD fd)
From a Unix valid file descriptor set a Reader.
|
PTYOutputStream(PTY.MasterFD fd,
boolean sendEotBeforeClose)
From a Unix valid file descriptor set a Reader.
|
public PTYOutputStream(PTY.MasterFD fd)
fd - file descriptor.public PTYOutputStream(PTY.MasterFD fd, boolean sendEotBeforeClose)
fd - file descriptor.sendEotBeforeClose - flags the stream to send an EOT character
before closing the stream to signalize end of stream.public void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionOutputStream.write(byte[], int, int)public void write(int b)
throws IOException
write in class OutputStreamIOException - on error.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOException - on error.protected void finalize()
throws IOException
finalize in class ObjectIOExceptionCopyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.