public final class TeeInput extends Object implements Input
There is no thread-safety guarantee.
Input.NoNulls
Constructor and Description |
---|
TeeInput(byte[] input,
Path file)
Ctor.
|
TeeInput(File input,
File output)
Ctor.
|
TeeInput(File input,
Path output)
Ctor.
|
TeeInput(Input input,
Output output)
Ctor.
|
TeeInput(Path input,
File output)
Ctor.
|
TeeInput(Path input,
Path output)
Ctor.
|
TeeInput(String input,
File file)
Ctor.
|
TeeInput(String input,
Output output)
Ctor.
|
TeeInput(String input,
Path file)
Ctor.
|
public TeeInput(Path input, Path output)
input
- The sourceoutput
- The output filepublic TeeInput(Path input, File output)
input
- The sourceoutput
- The output filepublic TeeInput(File input, File output)
input
- The sourceoutput
- The output filepublic TeeInput(File input, Path output)
input
- The sourceoutput
- The output filepublic TeeInput(String input, File file)
input
- The sourcefile
- The output filepublic TeeInput(String input, Path file)
input
- The sourcefile
- The output filepublic TeeInput(byte[] input, Path file)
input
- The sourcefile
- The output filepublic TeeInput(String input, Output output)
input
- The sourceoutput
- The targetpublic InputStream stream() throws IOException
Input
stream
in interface Input
IOException
- If something goes wrongCopyright © 2017 Cactoos. All rights reserved.