public class FragmentedImpExInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
FragmentedImpExInputStream(java.util.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.
|
public FragmentedImpExInputStream(java.util.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()
read in class java.io.InputStreampublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamb - off - len - java.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStreamCopyright © 2018 SAP SE. All Rights Reserved.