public class CloseSensorInputStream
extends org.apache.commons.io.input.ProxyInputStream
InputStream wrapper that remembers if InputStream.close() has been called.| Modifier and Type | Field and Description |
|---|---|
private boolean |
closed |
| Constructor and Description |
|---|
CloseSensorInputStream(java.io.InputStream parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isClosed() |
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class org.apache.commons.io.input.ProxyInputStreamjava.io.IOExceptionpublic boolean isClosed()