Class InvertedInputStream

java.lang.Object
java.io.InputStream
com.storedobject.common.InvertedInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class InvertedInputStream extends InputStream
Create an InputStream such that whatever is read from this stream should be the same as whatever written to an associated OutputStream! Beware: The associated OutputStream should be practically written to from a different thread.
Author:
Syam