Package org.aksw.iguana.commons.io
Class ReversibleOutputStream
java.lang.Object
java.io.OutputStream
org.aksw.iguana.commons.io.ReversibleOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Direct Known Subclasses:
BigByteArrayOutputStream
,ByteArrayListOutputStream
An OutputStream that can be converted to an InputStream.
The size of the data can be queried.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write, write
-
Constructor Details
-
ReversibleOutputStream
public ReversibleOutputStream()
-
-
Method Details
-
toInputStream
-
size
public abstract long size()
-