public class TeeInputStream extends InputStream
| Constructor and Description |
|---|
TeeInputStream(InputStream input,
OutputStream output)
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
OutputStream |
getOutputStream() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int off,
int len) |
available, mark, markSupported, reset, skippublic TeeInputStream(InputStream input, OutputStream output)
input - input stream to be wrapped.output - output stream to copy any input read to.public int read(byte[] buf)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic OutputStream getOutputStream()
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.