net.sf.xbus.technical.file
Class FileLineReaderReceiver

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.FileLineReaderReceiver
All Implemented Interfaces:
TAResource, Receiver, ReceiverSingleInterface

public class FileLineReaderReceiver
extends FileReceiver
implements Receiver, ReceiverSingleInterface

FileLineReaderReceiver is a receiver class which only opens the input file and send a reference to it through the integration layer.


Field Summary
 
Fields inherited from class net.sf.xbus.technical.file.FileReceiver
mConfiguration, mCopyname
 
Constructor Summary
FileLineReaderReceiver()
           
 
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

FileLineReaderReceiver

public FileLineReaderReceiver()
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