public final class TeeOutput extends Object implements Output
There is no thread-safety guarantee.
Output.NoNulls
Constructor and Description |
---|
TeeOutput(Output tgt,
File cpy)
Ctor.
|
TeeOutput(Output tgt,
Output cpy)
Ctor.
|
TeeOutput(Output tgt,
OutputStream cpy)
Ctor.
|
TeeOutput(Output tgt,
Path cpy)
Ctor.
|
TeeOutput(Output tgt,
Writer cpy)
Ctor.
|
TeeOutput(Output tgt,
Writer cpy,
Charset charset)
Ctor.
|
public TeeOutput(Output tgt, Writer cpy, Charset charset)
tgt
- The targetcpy
- The copy destinationcharset
- The charsetpublic TeeOutput(Output tgt, Writer cpy)
tgt
- The targetcpy
- The copy destinationpublic TeeOutput(Output tgt, Path cpy)
tgt
- The targetcpy
- The copy destinationpublic TeeOutput(Output tgt, File cpy)
tgt
- The targetcpy
- The copy destinationpublic TeeOutput(Output tgt, OutputStream cpy)
tgt
- The targetcpy
- The copy destinationpublic OutputStream stream() throws IOException
Output
stream
in interface Output
IOException
- If something goes wrongCopyright © 2017 Cactoos. All rights reserved.