org.apache.camel.converter.stream
Class StreamCacheConverter

java.lang.Object
  extended by org.apache.camel.converter.stream.StreamCacheConverter

public class StreamCacheConverter
extends Object

A set of Converter methods for wrapping stream-based messages in a StreamCache implementation to ensure message re-readability (eg multicasting, retrying)


Constructor Summary
StreamCacheConverter()
           
 
Method Summary
 StreamCache convertToStreamCache(BytesSource source)
           
 StreamCache convertToStreamCache(InputStream stream)
           
 StreamCache convertToStreamCache(Reader reader)
           
 StreamCache convertToStreamCache(SAXSource source)
           
 StreamCache convertToStreamCache(StreamSource source)
           
 StreamCache convertToStreamCache(StringSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamCacheConverter

public StreamCacheConverter()
Method Detail

convertToStreamCache

public StreamCache convertToStreamCache(StreamSource source)
                                 throws IOException
Throws:
IOException

convertToStreamCache

public StreamCache convertToStreamCache(StringSource source)

convertToStreamCache

public StreamCache convertToStreamCache(BytesSource source)

convertToStreamCache

public StreamCache convertToStreamCache(SAXSource source)
                                 throws TransformerException
Throws:
TransformerException

convertToStreamCache

public StreamCache convertToStreamCache(InputStream stream)
                                 throws IOException
Throws:
IOException

convertToStreamCache

public StreamCache convertToStreamCache(Reader reader)
                                 throws IOException
Throws:
IOException


Copyright © 2009 IONA Open Source Community. All Rights Reserved.