| Constructor | Description |
|---|---|
ThreadIOImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Cancel the streams associated with the current thread.
|
void |
setStreams(InputStream in,
PrintStream out,
PrintStream err) |
Associate this streams with the current thread.
|
void |
start() |
|
void |
stop() |
public void start()
public void stop()
public void close()
ThreadIOpublic void setStreams(InputStream in, PrintStream out, PrintStream err)
ThreadIOsetStreams in interface ThreadIOin - InputStream to use for the current thread when System.in is usedout - PrintStream to use for the current thread when System.out is usederr - PrintStream to use for the current thread when System.err is usedCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.