public class ReaderCache extends StringReader implements org.apache.camel.StreamCache
StreamCache for String Readers| Constructor and Description |
|---|
ReaderCache(String data) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.camel.StreamCache |
copy(org.apache.camel.Exchange exchange) |
boolean |
inMemory() |
long |
length() |
void |
reset() |
void |
writeTo(OutputStream os) |
mark, markSupported, read, read, ready, skippublic ReaderCache(String data)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class StringReaderpublic void reset()
reset in interface org.apache.camel.StreamCachereset in class StringReaderpublic void writeTo(OutputStream os) throws IOException
writeTo in interface org.apache.camel.StreamCacheIOExceptionpublic org.apache.camel.StreamCache copy(org.apache.camel.Exchange exchange)
throws IOException
copy in interface org.apache.camel.StreamCacheIOExceptionpublic boolean inMemory()
inMemory in interface org.apache.camel.StreamCachepublic long length()
length in interface org.apache.camel.StreamCacheApache Camel