| Modifier and Type | Field and Description |
|---|---|
| protected final ShutdownHooks. | |
| protected final NonBlockingInputStream | |
| protected final Map | |
| protected final OutputStream | |
| protected final NonBlockingReader | |
| protected final PrintWriter |
| Access | Constructor and Description |
|---|---|
| public | PosixSysTerminal(String name, String type, Pty pty, Charset encoding, boolean nativeSignals, Terminal.
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public Terminal. | handle(Terminal.
Overrides jdk. Implements jdk. Registers a handler for the given |
| public InputStream | input()
Implements jdk. Retrieve the input stream for this terminal. |
| public OutputStream | output()
Implements jdk. Retrieve the output stream for this terminal. |
| public NonBlockingReader | reader()
Implements jdk. Retrieve the |
| public PrintWriter | writer()
Implements jdk. Retrieve the |
| closer | back to summary |
|---|---|
| protected final ShutdownHooks. | |
| input | back to summary |
|---|---|
| protected final NonBlockingInputStream input | |
| nativeHandlers | back to summary |
|---|---|
| protected final Map<Terminal. | |
| output | back to summary |
|---|---|
| protected final OutputStream output | |
| reader | back to summary |
|---|---|
| protected final NonBlockingReader reader | |
| writer | back to summary |
|---|---|
| protected final PrintWriter writer | |
| PosixSysTerminal | back to summary |
|---|---|
public PosixSysTerminal(String name, String type, Pty pty, Charset encoding, boolean nativeSignals, Terminal.
| |
| doClose | back to summary |
|---|---|
| protected void doClose() throws IOException Overrides jdk.
| |
| handle | back to summary |
|---|---|
| public Terminal. Overrides jdk. Implements jdk. Doc from jdk. Registers a handler for the given
Note that the JVM does not easily allow catching the
| |
| input | back to summary |
|---|---|
| public InputStream input() Implements jdk. Doc from jdk. Retrieve the input stream for this terminal.
In some rare cases, there may be a need to access the
terminal input stream directly. In the usual cases,
use the
| |
| output | back to summary |
|---|---|
| public OutputStream output() Implements jdk. Doc from jdk. Retrieve the output stream for this terminal.
In some rare cases, there may be a need to access the
terminal output stream directly. In the usual cases,
use the
| |
| reader | back to summary |
|---|---|
| public NonBlockingReader reader() Implements jdk. Doc from jdk. Retrieve the | |
| writer | back to summary |
|---|---|
| public PrintWriter writer() Implements jdk. Doc from jdk. Retrieve the | |