public class ByteArrayInputStreamCache extends FilterInputStream implements org.apache.camel.StreamCache
StreamCache for ByteArrayInputStreamin| Constructor and Description |
|---|
ByteArrayInputStreamCache(ByteArrayInputStream in) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.StreamCache |
copy(org.apache.camel.Exchange exchange) |
boolean |
inMemory() |
long |
length() |
void |
reset() |
void |
writeTo(OutputStream os) |
available, close, mark, markSupported, read, read, read, skippublic ByteArrayInputStreamCache(ByteArrayInputStream in)
public void reset()
reset in interface org.apache.camel.StreamCachereset in class FilterInputStreampublic 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