net.sf.xbus.protocol.simple
Class Stream2TextTransformer
java.lang.Object
   net.sf.xbus.protocol.simple.Stream2TextTransformer
net.sf.xbus.protocol.simple.Stream2TextTransformer
- All Implemented Interfaces: 
- Transformer
- public class Stream2TextTransformer 
- extends java.lang.Object- implements Transformer
The Stream2TextTransformer read the content of an
 InputStream into string.
 
| Method Summary | 
|  java.lang.Object | transform(java.lang.Object inObject,
          XBUSSystem source,
          XBUSSystem destination,
          Message destinationMessage)The
 Stream2TextTransformerread the content of anInputStream into string. | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Stream2TextTransformer
public Stream2TextTransformer()
transform
public java.lang.Object transform(java.lang.Object inObject,
                                  XBUSSystem source,
                                  XBUSSystem destination,
                                  Message destinationMessage)
                           throws XException
- The Stream2TextTransformerread the content of anInputStream into string.
 
- 
- Specified by:
- transformin 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