public class UncloseableInputStream extends FilterInputStream
This is useful in rare situations where the underlying stream is being shared among consumers and therefore should not be closed accidentally by one of them.
in| Constructor and Description |
|---|
UncloseableInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
available, mark, markSupported, read, read, read, reset, skippublic UncloseableInputStream(InputStream in)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionCopyright © 2017–2021 DataStax. All rights reserved.