net.sf.xbus.protocol.bytearraylist
Class Stream2ByteArrayListTransformer
java.lang.Object
net.sf.xbus.protocol.bytearraylist.Stream2ByteArrayListTransformer
- All Implemented Interfaces:
- Transformer
public class Stream2ByteArrayListTransformer
- extends java.lang.Object
- implements Transformer
The Stream2ByteArrayListTransformer
read the content of an
InputStream into a ByteArrayList.
Method Summary |
java.lang.Object |
transform(java.lang.Object inObject,
XBUSSystem source,
XBUSSystem destination,
Message destinationMessage)
The Stream2ByteArrayListTransformer read the content of an
InputStream into a ByteArrayList. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Stream2ByteArrayListTransformer
public Stream2ByteArrayListTransformer()
transform
public java.lang.Object transform(java.lang.Object inObject,
XBUSSystem source,
XBUSSystem destination,
Message destinationMessage)
throws XException
- The
Stream2ByteArrayListTransformer
read the content of an
InputStream into a ByteArrayList.
- Specified by:
transform
in interface Transformer
- Parameters:
inObject
- either the request or response of the source messagesource
- not used - from the Transformer interfacedestination
- not used - from the Transformer interfacedestinationMessage
- not used - from the Transformer interface
- Returns:
ByteArrayList
- Throws:
XException