|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.technical.file.FileBase
net.sf.xbus.technical.file.FileReceiver
net.sf.xbus.technical.file.FileStreamReceiver
public class FileStreamReceiver
FileStreamReceiver is a receiver class which opens an
InputStream of the input file and sends a reference to it
through the xBus.
| Field Summary |
|---|
| Fields inherited from class net.sf.xbus.technical.file.FileReceiver |
|---|
mConfiguration, mCopyname |
| Constructor Summary | |
|---|---|
FileStreamReceiver()
|
|
| 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 |
|---|
public FileStreamReceiver()
| Method Detail |
|---|
protected java.lang.Object getRequestContent()
throws XException
FileReceivergetRequestContent delivers the content of the request.
Subclasses may define their own request content.
getRequestContent in class FileReceiverString but casted to
Object for compliance reasons
XExceptionpublic java.lang.String getType()
ReceiverReceiver can receive data either as a
String or as an Object from a neighboring
system.Strings, getType
returns Constants.TYPE_TEXTObjects, getType
returns Constants.TYPE_OBJECT
getType in interface ReceivergetType in class FileReceiver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||