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, skip
private final InputStream toWrap
public NonCloseableInputStream(InputStream toWrap)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b) throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
Copyright © 2016 Apache NiFi Project. All rights reserved.