public class FragmentedImpExInputStream extends InputStream
| Constructor and Description |
|---|
FragmentedImpExInputStream(List<ImpExFragment> f)
Instantiates this input stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len)
Override in order to catch custom exception and rethrow IOException.
|
mark, read, reset, skippublic FragmentedImpExInputStream(List<ImpExFragment> f)
f - a list of ImpEx fragments to read content from. This stream will read the fragments in the same order
they received in the list.public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamb - off - len - IOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreamCopyright © 2017 SAP SE. All Rights Reserved.