パッケージ com.kazurayam.subprocessj

クラス Subprocess.CompletedProcess

  • 含まれているクラス:
    Subprocess

    public static final class Subprocess.CompletedProcess
    extends java.lang.Object
    A Data Transfer Object that contains the return code, STDOUT and STDERR out of the executed subprocess.
    • コンストラクタの詳細

      • CompletedProcess

        public CompletedProcess​(java.util.List<java.lang.String> args)
    • メソッドの詳細

      • commandline

        public java.lang.String commandline()
      • returncode

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

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

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

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

        public static java.lang.String quote​(java.lang.String str)