public class UncloseableOutputStream extends FilterOutputStream
close()
method. Instead, they must be closed by the creator using doClose()
.out
Constructor and Description |
---|
UncloseableOutputStream(OutputStream parent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
doClose()
Invoke close on FilterOutputStream parent class.
|
flush, write, write, write
public UncloseableOutputStream(OutputStream parent)
parent
- output streampublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
public void doClose() throws IOException
IOException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.