public class MultiInputStream extends InputStream
| Constructor and Description |
|---|
MultiInputStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStream(InputStream stream) |
int |
available() |
void |
close() |
boolean |
prepare()
Finalize the stream and allow it to be read
from.
|
int |
read() |
mark, markSupported, read, read, reset, skippublic void addStream(InputStream stream)
public boolean prepare()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2021. All rights reserved.