org.tigris.subversion.svnclientadapter.utils
public class Command extends java.lang.Object
Constructor and Description |
---|
Command(java.lang.String command) |
Modifier and Type | Method and Description |
---|---|
void |
exec() |
java.lang.Process |
getProcess() |
void |
kill() |
void |
setErr(java.io.OutputStream err) |
void |
setOut(java.io.OutputStream out) |
void |
setParameters(java.lang.String[] parameters) |
int |
waitFor()
causes the current thread to wait, if necessary, until the process
represented by this
Command object has terminated |
public void setErr(java.io.OutputStream err)
err
- The err to set.public void setOut(java.io.OutputStream out)
out
- The out to set.public void setParameters(java.lang.String[] parameters)
parameters
- The parameters to set.public java.lang.Process getProcess()
public void kill()
public void exec() throws java.io.IOException
java.io.IOException
public int waitFor() throws java.lang.InterruptedException
Command
object has terminated0
indicates normal termination.java.lang.InterruptedException