|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.gogo.runtime.threadio.ThreadIOImpl
public class ThreadIOImpl
Constructor Summary | |
---|---|
ThreadIOImpl()
|
Method Summary | |
---|---|
void |
close()
Cancel the streams associated with the current thread. |
void |
setStreams(java.io.InputStream in,
java.io.PrintStream out,
java.io.PrintStream err)
Associate this streams with the current thread. |
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadIOImpl()
Method Detail |
---|
public void start()
public void stop()
public void close()
ThreadIO
close
in interface ThreadIO
public void setStreams(java.io.InputStream in, java.io.PrintStream out, java.io.PrintStream err)
ThreadIO
setStreams
in interface ThreadIO
in
- 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 used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |