public class CloseSensorInputStream
extends org.apache.commons.io.input.ProxyInputStream
InputStream wrapper that remembers if InputStream.close() has been called.in| Constructor and Description |
|---|
CloseSensorInputStream(InputStream parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isClosed() |
public CloseSensorInputStream(InputStream parent)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.commons.io.input.ProxyInputStreamIOExceptionpublic boolean isClosed()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.