daruma.bus.message
クラス StandardPayload
java.lang.Object
daruma.bus.message.StandardPayload
- すべての実装インタフェース:
- FileBasedPayload, Payload
- public class StandardPayload
- extends java.lang.Object
- implements FileBasedPayload
ファイルベースの標準メッセージクラス
- 作成者:
- masanori.matsuoka@netconscious.jp
クラス java.lang.Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardPayload
public StandardPayload()
attach
public void attach(java.io.File file)
- 外部ファイルをメッセージ本体として設定する。
- パラメータ:
file
- アタッチするファイル
detach
public java.io.File detach()
dispose
public void dispose()
- 定義:
- インタフェース
Payload
内の dispose
getFileInputStream
public java.io.FileInputStream getFileInputStream()
throws MessageException
- 例外:
MessageException
getFileOutputStream
public java.io.FileOutputStream getFileOutputStream()
throws MessageException
- 例外:
MessageException
getInputStream
public java.io.InputStream getInputStream()
throws MessageException
- 定義:
- インタフェース
Payload
内の getInputStream
- 例外:
MessageException
getOutputStream
public java.io.OutputStream getOutputStream()
throws MessageException
- 定義:
- インタフェース
Payload
内の getOutputStream
- 例外:
MessageException
getWorkDir
public java.io.File getWorkDir()
load
public void load(java.io.File file)
throws MessageException
- 定義:
- インタフェース
FileBasedPayload
内の load
- 例外:
MessageException
save
public void save(java.io.File file)
throws MessageException
- 定義:
- インタフェース
FileBasedPayload
内の save
- 例外:
MessageException
setWorkDir
public void setWorkDir(java.io.File workDir)