Class InvertedOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.storedobject.common.InvertedOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class InvertedOutputStream extends FilterOutputStream
Create an OutputStream such that whatever is written to it will appear in an associated InputStream! Beware: The associated InputStream should be practically read from a different thread.
Author:
Syam