Class ExecGetResult

java.lang.Object
de.tomatengames.util.ExecGetResult

public class ExecGetResult extends Object
The result of a get process.
Since:
1.0
  • Method Details

    • getOutputBytes

      public byte[] getOutputBytes()
      Returns the standard output bytes of the process.
      Returns:
      The standard output bytes.
      Since:
      1.8
    • getOutputString

      public String 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 public CharSequence 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

      public String 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 public CharSequence getError()
      Deprecated.
      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.