|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectrydeen.io.AbstractDestination
public abstract class AbstractDestination
抽象Destinationクラスです.
メソッドのデフォルト実装が行われています.
output
| コンストラクタの概要 | |
|---|---|
AbstractDestination()
|
|
| メソッドの概要 | |
|---|---|
abstract void |
close()
この出力先を閉じます. |
abstract OutputStream |
getOutput(ProcessTarget target)
ProcessTargetから出力先を決定し,出力ストリームを返します. |
abstract OutputStream |
getOutput(String className)
クラス名から出力先を決定し,出力ストリームを返します. |
boolean |
isClosed()
常にfalseを返します. |
void |
output(ProcessTarget target)
から出力先を取得し,
ProcessTargetの内容をそのまま出力ストリームに書き出します. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public AbstractDestination()
| メソッドの詳細 |
|---|
public abstract OutputStream getOutput(String className)
throws IOException
Destination の記述:
Destination 内の getOutputIOException
public abstract OutputStream getOutput(ProcessTarget target)
throws IOException
Destination の記述:ProcessTargetから出力先を決定し,出力ストリームを返します.
返された出力ストリームは必要がなくなればcloseを呼び出して閉じてください.
Destination 内の getOutputIOException
public void output(ProcessTarget target)
throws IOException
Destination の記述:getOutputから出力先を取得し,
ProcessTargetの内容をそのまま出力ストリームに書き出します.
Destination 内の outputIOException
public abstract void close()
throws IOException
Destination の記述:getOutput, output
メソッドは正常に処理しない場合があります.
Destination 内の closeIOExceptionpublic boolean isClosed()
Destination 内の isClosed
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||