Package org.codehaus.janino.util
Class TeeReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.codehaus.janino.util.TeeReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
A
FilterReader that copies the bytes being passed through
to a given Writer. This is in analogy with the UNIX "tee" command.-
Field Summary
Fields inherited from class java.io.FilterReader
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterReader
mark, markSupported, ready, reset, skipMethods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
TeeReader
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterReader- Throws:
IOException
-
read
- Overrides:
readin classFilterReader- Throws:
IOException
-
read
- Overrides:
readin classFilterReader- Throws:
IOException
-