Example usage for Java org.apache.commons.io.input TeeInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
TeeInputStream(InputStream input, OutputStream branch) Creates a TeeInputStream that proxies the given InputStream and copies all read bytes to the given OutputStream . | |
TeeInputStream(InputStream input, OutputStream branch, boolean closeBranch) Creates a TeeInputStream that proxies the given InputStream and copies all read bytes to the given OutputStream . |
void | close() Closes the proxied input stream and, if so configured, the associated output stream. |
int | read(byte[] bts) Reads bytes from the proxied input stream and writes the read bytes to the associated output stream. |