OSDN Git Service

javadoc の警告を刈り取った
[hayashilib/hayashi.git] / src / jp / co / areaweb / tools / command / Command.java
index 515e58f..0dc062f 100644 (file)
@@ -52,6 +52,8 @@ public class Command
      *  標準出力とエラー出力の結果を合成してかえす。\r
      *  よって、本メソッドを実行するとgetStdout(),getErrout()は無効になる\r
      *  このメソッドは、execCommand()メソッドを実行した直後の1回目の実行結果のみ有効\r
+     *  @return        result\r
+     *  @throws        IOException             例外\r
      */\r
     public String getOutput() throws IOException {\r
         String std = getStdout();\r
@@ -66,6 +68,8 @@ public class Command
     /**\r
      *  コマンド実行結果の標準出力\r
      *  このメソッドは、execCommand()メソッドを実行した直後の1回目の実行結果のみ有効\r
+     *  @throws        IOException     例外\r
+     *  @return        結果\r
      */\r
     public String getStdout() throws IOException {\r
         return convBufferedReader(this.stdReader);\r
@@ -74,6 +78,8 @@ public class Command
     /**\r
      *  コマンド実行結果のエラー出力\r
      *  このメソッドは、execCommand()メソッドを実行した直後の1回目の実行結果のみ有効\r
+     *  @throws        IOException     例外\r
+     *  @return        結果\r
      */\r
     public String getErrout() throws IOException {\r
         return convBufferedReader(this.errReader);\r
@@ -120,6 +126,7 @@ public class Command
 \r
     /** \r
     *  サンプル\r
+    * @param args      パラメータ\r
     */\r
     static public void main(String[] args) {\r
         if (args.length < 1) {\r