|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface Destination
出力先を表すインターフェースです.
| メソッドの概要 | |
|---|---|
void |
close()
この出力先を閉じます. |
OutputStream |
getOutput(ProcessTarget target)
ProcessTargetから出力先を決定し,出力ストリームを返します. |
OutputStream |
getOutput(String className)
クラス名から出力先を決定し,出力ストリームを返します. |
boolean |
isClosed()
このメソッドが閉じられているかを返します. |
void |
output(ProcessTarget target)
から出力先を取得し,
ProcessTargetの内容をそのまま出力ストリームに書き出します. |
| メソッドの詳細 |
|---|
OutputStream getOutput(String className)
throws IOException
IOException
OutputStream getOutput(ProcessTarget target)
throws IOException
ProcessTargetから出力先を決定し,出力ストリームを返します.
返された出力ストリームは必要がなくなればcloseを呼び出して閉じてください.
IOException
void output(ProcessTarget target)
throws IOException
getOutputから出力先を取得し,
ProcessTargetの内容をそのまま出力ストリームに書き出します.
IOException
void close()
throws IOException
getOutput, output
メソッドは正常に処理しない場合があります.
IOExceptionboolean isClosed()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||