Package com.itextpdf.commons.utils
Class ProcessInfo
java.lang.Object
com.itextpdf.commons.utils.ProcessInfo
Class contains a process information, such as process exit code and process output.
-
Constructor Summary
ConstructorDescriptionProcessInfo
(int exitCode, String processStdOutput, String processErrOutput) Create a new instance, containing a process information, such as process exit code, process standard and error outputs. -
Method Summary
Modifier and TypeMethodDescriptionint
Getter for a process exit code.Getter for an error process output.Getter for a standard process output.
-
Constructor Details
-
ProcessInfo
Create a new instance, containing a process information, such as process exit code, process standard and error outputs.- Parameters:
-
exitCode
- exit code of the process. -
processStdOutput
- the standard output of the process. -
processErrOutput
- the error output of the process.
-
-
Method Details
-
getExitCode
public int getExitCode()Getter for a process exit code.- Returns:
- Returns a process exit code.
-
getProcessStdOutput
Getter for a standard process output.- Returns:
- Returns a process standard output string.
-
getProcessErrOutput
Getter for an error process output.- Returns:
- Returns a process error output string.
-