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

public abstract class ReversibleOutputStream extends OutputStream
An OutputStream that can be converted to an InputStream. The size of the data can be queried.
  • Constructor Details

    • ReversibleOutputStream

      public ReversibleOutputStream()
  • Method Details

    • toInputStream

      public abstract InputStream toInputStream()
    • size

      public abstract long size()