Class ExecGetResult
java.lang.Object
de.tomatengames.util.ExecGetResult
-
Method Summary
Modifier and TypeMethodDescriptiongetError()Deprecated.byte[]Returns the error output of the process.Returns the error output of the process as a string using the default charset.intReturns the exit value of the process.Deprecated.byte[]Returns the standard output bytes of the process.Returns the standard output of the process as a string using the default charset.
-
Method Details
-
getOutputBytes
public byte[] getOutputBytes()Returns the standard output bytes of the process.- Returns:
- The standard output bytes.
- Since:
- 1.8
-
getOutputString
Returns the standard output of the process as a string using the default charset.- Returns:
- The standard output of the process as a string.
- Since:
- 1.8
-
getOutput
Deprecated.Returns the standard output of the process using the default charset.- Returns:
- The standard output of the process.
-
getErrorBytes
public byte[] getErrorBytes()Returns the error output of the process.- Returns:
- The error output.
-
getErrorString
Returns the error output of the process as a string using the default charset.- Returns:
- the error output of the process as a string
- Since:
- 1.8
-
getError
Deprecated.UsegetErrorString()Returns the error output of the process using the default charset.- Returns:
- the error output of the process
-
getExitValue
public int getExitValue()Returns the exit value of the process.- Returns:
- The exit value.
-
getErrorString()