org.owasp.esapi
public class ExecuteResult extends java.lang.Object
| Constructor and Description |
|---|
ExecuteResult(int exitValue,
java.lang.String output,
java.lang.String errors)
Constructs an ExecuteResult from the given values.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrors() |
int |
getExitValue() |
java.lang.String |
getOutput() |
java.lang.String |
toString() |
public ExecuteResult(int exitValue,
java.lang.String output,
java.lang.String errors)
exitValue - the code from java.lang.Process.exitValue()output - the contents read from java.lang.Process.getInputStream()errors - the contents read from java.lang.Process.getErrorStream()public int getExitValue()
public java.lang.String getOutput()
public java.lang.String getErrors()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 The Open Web Application Security Project (OWASP). All Rights Reserved.