Class RepeaterInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.greenrobot.essentials.io.RepeaterInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class RepeaterInputStream extends FilterInputStream
Repeats an input stream to an additional OutputStream. The data of the InputStream becomes available for two purposes, e.g. reading data and storing for caching.

Note: OutputStream is not closed when close() is called.