public class UncloseableInputStream extends FilterInputStream
close()
method. Instead, they must be closed by the creator using doClose()
.in
Constructor and Description |
---|
UncloseableInputStream(InputStream parent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
doClose()
Invoke close on FilterInputStream parent class.
|
available, mark, markSupported, read, read, read, reset, skip
public UncloseableInputStream(InputStream parent)
parent
- input streampublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
public void doClose() throws IOException
IOException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.