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 Closeable
close
in interface AutoCloseable
close
in class org.apache.commons.io.input.ProxyInputStream
IOException
public boolean isClosed()
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.