public class NonCloseableInputStream extends FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
private InputStream |
toWrap |
in| Constructor and Description |
|---|
NonCloseableInputStream(InputStream toWrap) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
available, mark, markSupported, reset, skipprivate final InputStream toWrap
public NonCloseableInputStream(InputStream toWrap)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionCopyright © 2019 Apache NiFi Project. All rights reserved.