Package org.eclipse.cdt.utils.pty
Class ConPTYInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.eclipse.cdt.utils.pty.PTYInputStream
-
- org.eclipse.cdt.utils.pty.ConPTYInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ConPTYInputStream extends PTYInputStream
- Restriction:
- This class is not intended to be referenced by clients.
-
-
Constructor Summary
Constructors Constructor Description ConPTYInputStream(ConPTY conPty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close the Readerint
read(byte[] buf, int off, int len)
-
Methods inherited from class org.eclipse.cdt.utils.pty.PTYInputStream
finalize, read
-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
ConPTYInputStream
public ConPTYInputStream(ConPTY conPty)
-
-
Method Detail
-
read
public int read(byte[] buf, int off, int len) throws IOException
- Overrides:
read
in classPTYInputStream
- Throws:
IOException
- See Also:
InputStream.read(byte[], int, int)
-
close
public void close() throws IOException
Close the Reader- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classPTYInputStream
- Throws:
IOException
- on error.
-
-