net.sf.xbus.protocol.bytearraylist
Class Stream2ByteArrayListTransformer

java.lang.Object
  extended by 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.


Constructor Summary
Stream2ByteArrayListTransformer()
           
 
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
 

Constructor Detail

Stream2ByteArrayListTransformer

public Stream2ByteArrayListTransformer()
Method Detail

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 message
source - not used - from the Transformer interface
destination - not used - from the Transformer interface
destinationMessage - not used - from the Transformer interface
Returns:
ByteArrayList
Throws:
XException