パッケージ com.kazurayam.subprocessj

クラス Subprocess.CompletedProcess

java.lang.Object
com.kazurayam.subprocessj.Subprocess.CompletedProcess
含まれているクラス:
Subprocess

public static final class Subprocess.CompletedProcess extends Object
A Data Transfer Object that contains the return code, STDOUT and STDERR out of the executed subprocess.
  • フィールド詳細

  • コンストラクタの詳細

    • CompletedProcess

      public CompletedProcess(List<String> args)
  • メソッドの詳細

    • commandline

      public String commandline()
    • returncode

      public int returncode()
      戻り値:
      the return code from the subprocess. 0 indicates normal. other values indicate some error.
    • stdout

      public List<String> stdout()
      戻り値:
      captured STDOUT from the subprocess.
    • stderr

      public List<String> stderr()
      戻り値:
      captured STDERR from the subprocess.
    • toString

      public String toString()
      オーバーライド:
      toString クラス内 Object
    • quote

      public static String quote(String str)