|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectnet.argius.stu.IOManager
net.argius.stu.DefaultIOManager
デフォルトの入出力マネージャです。
| コンストラクタの概要 | |
DefaultIOManager()
デフォルト入出力マネージャを初期化します。 |
|
| メソッドの概要 | |
void |
printMessage(String message,
boolean newLine)
この入出力マネージャの出力にメッセージを送出します。 |
String |
scanLine()
標準入力から文字列を1行読み取ります。 |
int |
showResult(ResultSet rs,
int limit)
標準出力に実行結果を出力します。 |
| クラス net.argius.stu.IOManager から継承したメソッド |
close, getApplication, getErrorPrinter, getLineSeparator, getOutputPrinter, getScanner, setApplication, setErrorPrinter, setOutputPrinter, setScanner |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public DefaultIOManager()
| メソッドの詳細 |
public String scanLine()
throws IOException
IOManager 内の scanLineIOException - 入出力エラー
public int showResult(ResultSet rs,
int limit)
throws IOException,
SQLException
IOManager 内の showResultrs - 結果セットlimit - 最大表示件数 0以下は無制限
IOException - 入出力エラー
SQLException - データベースアクセスエラー
public void printMessage(String message,
boolean newLine)
throws IOException
IOManager 内の printMessagemessage - メッセージ文字列newLine - 改行する場合はtrue、しない場合はfalse
IOException - 入出力エラー
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||