Java org.apache.commons.io.input TeeInputStream fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.io.input TeeInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.io.input TeeInputStream.

The text is from its open source code.

Constructor

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 .

Method

voidclose()
Closes the proxied input stream and, if so configured, the associated output stream.
intread(byte[] bts)
Reads bytes from the proxied input stream and writes the read bytes to the associated output stream.