org.apache.felix.service.threadio
public interface ThreadIO
Modifier and Type | Method and Description |
---|---|
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 setStreams(java.io.InputStream in, java.io.PrintStream out, java.io.PrintStream err)
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 usedvoid close()
Copyright © 2014. All Rights Reserved.