public interface Resource extends AutoCloseable
AutoCloseable
that allows introspecting if it
already has been closed through its isOpen()
method.Modifier and Type | Method and Description |
---|---|
boolean |
isOpen()
Detect whether this resource is still open
|
close