Class ProcessInfo

java.lang.Object
com.itextpdf.commons.utils.ProcessInfo

public final class ProcessInfo extends Object
Class contains a process information, such as process exit code and process output.
  • Constructor Details

    • ProcessInfo

      public ProcessInfo (int exitCode, String processStdOutput, String processErrOutput)
      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

      public String getProcessStdOutput()
      Getter for a standard process output.
      Returns:
      Returns a process standard output string.
    • getProcessErrOutput

      public String getProcessErrOutput()
      Getter for an error process output.
      Returns:
      Returns a process error output string.