public class UnclosableInputStream extends FilterInputStream
close()
calls so that the underlying
stream is not closed.in
Constructor and Description |
---|
UnclosableInputStream(InputStream source)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
available, mark, markSupported, read, read, read, reset, skip
public UnclosableInputStream(InputStream source)
source
- The source input stream.public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
Copyright © 2005–2017. All rights reserved.