|
Copyright 2002 by aragost | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.aragost.io.OSCommand
Constructor Summary | |
OSCommand(java.lang.String command)
Creates new OSCommand. |
Method Summary | |
void |
execute()
|
java.lang.String |
getErrorOutput()
Return the error output of the command |
java.lang.String |
getOutput()
return the error and standard output from the command |
java.lang.String |
getStdOutput()
return the standard output from the command |
int |
returnCode()
|
void |
setInput(java.io.InputStream input)
|
void |
setInput(java.lang.String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OSCommand(java.lang.String command)
command
- string representation of the commandMethod Detail |
public void execute() throws java.io.IOException
java.io.IOException
public void setInput(java.io.InputStream input)
public void setInput(java.lang.String s)
public java.lang.String getErrorOutput()
public java.lang.String getStdOutput()
public java.lang.String getOutput()
public int returnCode()
|
Copyright 2002 by aragost | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |