public class NonCloseableInputStream extends FilterInputStream
in| Constructor and Description |
|---|
NonCloseableInputStream(InputStream in)
Creates a
FilterInputStream
by assigning the argument in
to the field this.in so as
to remember it for later use. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
available, mark, markSupported, read, read, read, reset, skippublic NonCloseableInputStream(InputStream in)
FilterInputStream
by assigning the argument in
to the field this.in so as
to remember it for later use.in - the underlying input stream, or null if
this instance is to be created without an underlying stream.public final void close()
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamCopyright © 2022. All rights reserved.