|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.argius.stu.Prompt
プロンプト表記のクラスです。
コンストラクタの概要 | |
Prompt(Properties props,
IOManager io)
プロンプトを初期化します。 |
メソッドの概要 | |
String |
getInput()
入力ストリームから文字列を取得します。 |
String |
getInput(int number)
入力ストリームから文字列を取得します。 |
String |
getInput(String prompt)
入力ストリームから文字列を取得します。 |
void |
propertyChange(PropertyChangeEvent event)
プロパティ変更が通知されたときの処理を実行します。 |
void |
setParameters(String userName,
String connectorName)
パラメータをセットします。 |
String |
toString()
文字列表現を返します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public Prompt(Properties props, IOManager io)
props
- プロパティリストio
- 入出力マネージャメソッドの詳細 |
public void propertyChange(PropertyChangeEvent event)
PropertyChangeListener
内の propertyChange
event
- プロパティ変更イベントpublic String getInput() throws IOException
IOException
- 入力ストリームのエラーpublic String getInput(int number) throws IOException
IOException
- 入力ストリームのエラーpublic String getInput(String prompt) throws IOException
IOException
- 入力ストリームのエラーpublic void setParameters(String userName, String connectorName)
userName
- ログイン中のユーザ名connectorName
- ログイン中の接続名public String toString()
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |