Class ReadableByteArrayOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.openehealth.ipf.platform.camel.core.io.ReadableByteArrayOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
A
ByteArrayOutputStream
that allows the creation of an
InputStream
from its internal byte array representation.- Author:
- Martin Krasser
-
Field Summary
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns anInputStream
from this stream's internal byte array representation.Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeTo
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
ReadableByteArrayOutputStream
public ReadableByteArrayOutputStream()
-
-
Method Details
-
inputStream
Returns anInputStream
from this stream's internal byte array representation.- Returns:
- an input stream to read from.
- See Also:
-