public class TeeInputStream extends InputStream
| Constructor and Description |
|---|
TeeInputStream(InputStream input,
OutputStream output) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int off,
int len) |
available, mark, markSupported, reset, skippublic TeeInputStream(InputStream input, OutputStream output)
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 InputStreamIOExceptionCopyright © 2015. All rights reserved.