|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.argius.stu.io.StringPrinter
文字列「プリンタ」です。 出力先を文字列に設定します。 出力結果を文字列として取り出すことができます。
コンストラクタの概要 | |
StringPrinter()
文字列プリンタを生成します。 |
メソッドの概要 | |
void |
close()
出力先を閉じます。 |
void |
print(String message)
文字列を出力します。 |
void |
println(String message)
文字列を1行出力します。 |
String |
toString()
文字列を取得します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public StringPrinter()
メソッドの詳細 |
public void print(String message)
Printer
内の print
message
- メッセージpublic void println(String message)
Printer
内の println
message
- メッセージpublic void close()
Printer
内の close
public String toString()
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |