|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.optional.perforce.P4HandlerAdapter
| Nested Class Summary | |
class |
P4HandlerAdapter.Reader
|
| Constructor Summary | |
P4HandlerAdapter()
|
|
| Method Summary | |
abstract void |
process(java.lang.String line)
|
void |
setOutput(java.lang.String p4Input)
|
void |
setProcessErrorStream(java.io.InputStream is)
Install a handler for the error stream of the subprocess. |
void |
setProcessInputStream(java.io.OutputStream os)
Install a handler for the input stream of the subprocess. |
void |
setProcessOutputStream(java.io.InputStream is)
Install a handler for the output stream of the subprocess. |
void |
start()
Start handling of the streams. |
void |
stop()
Stop handling of the streams - will not be restarted. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public P4HandlerAdapter()
| Method Detail |
public abstract void process(java.lang.String line)
process in interface P4Handlerpublic void setOutput(java.lang.String p4Input)
setOutput in interface P4Handler
public void start()
throws BuildException
ExecuteStreamHandler
start in interface ExecuteStreamHandlerBuildException
public void setProcessInputStream(java.io.OutputStream os)
throws java.io.IOException
ExecuteStreamHandler
setProcessInputStream in interface ExecuteStreamHandleros - output stream to write to the standard input stream of the
subprocess
java.io.IOException
public void setProcessErrorStream(java.io.InputStream is)
throws java.io.IOException
ExecuteStreamHandler
setProcessErrorStream in interface ExecuteStreamHandleris - input stream to read from the error stream from the subprocess
java.io.IOException
public void setProcessOutputStream(java.io.InputStream is)
throws java.io.IOException
ExecuteStreamHandler
setProcessOutputStream in interface ExecuteStreamHandleris - input stream to read from the error stream from the subprocess
java.io.IOExceptionpublic void stop()
ExecuteStreamHandler
stop in interface ExecuteStreamHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||