public class CloseSensorWriter
extends org.apache.commons.io.output.ProxyWriter
Writer wrapper that remembers if Writer.close() has been called.| Modifier and Type | Field and Description |
|---|---|
private boolean |
closed |
| Constructor and Description |
|---|
CloseSensorWriter(java.io.Writer 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.output.ProxyWriterjava.io.IOExceptionpublic boolean isClosed()