public final class CloseablesManager extends Object implements Closeable
| Constructor and Description |
|---|
CloseablesManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Closeable closeable) |
void |
close() |
void |
close(Closeable closeable) |
void |
closeQuietly() |
void |
closeQuietly(Closeable closeable) |
boolean |
isEmpty() |
public void add(Closeable closeable)
public void close(Closeable closeable) throws IOException
IOExceptionpublic void closeQuietly(Closeable closeable)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void closeQuietly()
public boolean isEmpty()
Copyright © 2016. All rights reserved.