net.sf.xbus.technical.file
Class FileByteArrayListReceiver

java.lang.Object
  extended by net.sf.xbus.technical.file.FileBase
      extended by net.sf.xbus.technical.file.FileReceiver
          extended by net.sf.xbus.technical.file.FileByteArrayListReceiver
All Implemented Interfaces:
TAResource, Receiver, ReceiverSingleInterface

public class FileByteArrayListReceiver
extends FileReceiver
implements Receiver, ReceiverSingleInterface


Field Summary
 
Fields inherited from class net.sf.xbus.technical.file.FileReceiver
mConfiguration, mCopyname
 
Constructor Summary
FileByteArrayListReceiver()
           
 
Method Summary
protected  java.lang.Object getRequestContent()
          getRequestContent delivers the content of the request.
 java.lang.String getType()
          A Receiver can receive data either as a String or as an Object from a neighboring system.
 
Methods inherited from class net.sf.xbus.technical.file.FileReceiver
close, commit, doReceive, getConfigFilename, getOnError, open, readConfiguration, receive, rollback
 
Methods inherited from class net.sf.xbus.technical.file.FileBase
copyFile, deleteFile, getEncoding, getFileLength, getLastByteOfFile, renameFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.xbus.technical.ReceiverSingleInterface
receive
 

Constructor Detail

FileByteArrayListReceiver

public FileByteArrayListReceiver()
Method Detail

getRequestContent

protected java.lang.Object getRequestContent()
                                      throws XException
Description copied from class: FileReceiver
getRequestContent delivers the content of the request. Subclasses may define their own request content.

Overrides:
getRequestContent in class FileReceiver
Returns:
the interface file content as String but casted to Object for compliance reasons
Throws:
XException

getType

public java.lang.String getType()
Description copied from interface: Receiver
A Receiver can receive data either as a String or as an Object from a neighboring system.

Specified by:
getType in interface Receiver
Overrides:
getType in class FileReceiver