public interface Closeable extends Closeable
Straight copy of the java.util.Closeable interface except it doesn't throw IOException
Modifier and Type | Field and Description |
---|---|
static Consumer<Closeable> |
CLOSE
Simple
Consumer implementation that closes all elements. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this stream and releases any system resources associated with it.
|
void close()
close
in interface AutoCloseable
close
in interface Closeable
RuntimeIOException
- if an I/O error occursCopyright © 2002-2022 Atlassian. All Rights Reserved.