public interface Closeable extends AutoCloseable
AutoCloseablewhose close method may throw an
|Modifier and Type||Method and Description|
Closes the object and release any system resources it holds.
void close() throws IOException
Although only the first call has any effect, it is safe to call close
multiple times on the same object. This is more lenient than the
AutoCloseable.close(), which may be called at most