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