|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.maven.shared.process.StreamBridge
public class StreamBridge
Bridges an input stream to an output stream.
This is used in system call handling because the output of the created process is actually represented as an input stream to our java process. Generally we need to 'pipe' this to an output stream (the console for example).
Constructor Summary | |
---|---|
StreamBridge(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
|
|
StreamBridge(java.io.InputStream inputStream,
java.io.OutputStream outputStream,
int bufferSize)
|
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamBridge(java.io.InputStream inputStream, java.io.OutputStream outputStream)
public StreamBridge(java.io.InputStream inputStream, java.io.OutputStream outputStream, int bufferSize)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |