public class ByteArrayInputStreamCache extends FilterInputStream implements org.apache.camel.StreamCache
StreamCache
for ByteArrayInputStream
in
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, skip
public ByteArrayInputStreamCache(ByteArrayInputStream in)
public void reset()
reset
in interface org.apache.camel.StreamCache
reset
in class FilterInputStream
public void writeTo(OutputStream os) throws IOException
writeTo
in interface org.apache.camel.StreamCache
IOException
public org.apache.camel.StreamCache copy(org.apache.camel.Exchange exchange) throws IOException
copy
in interface org.apache.camel.StreamCache
IOException
public boolean inMemory()
inMemory
in interface org.apache.camel.StreamCache
public long length()
length
in interface org.apache.camel.StreamCache
Apache Camel