This provides a way to close said resources in the calling code.
| Modifier and Type | Field and Description |
|---|---|
| public static final CloseableConsumer | CLOSING_CONSUMER
Closes the passed in Closeable immediately. |
| public static final CloseableConsumer | NULL_CONSUMER
Ignores the passed in Closeable. |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| CLOSING_CONSUMER | back to summary |
|---|---|
| public static final CloseableConsumer CLOSING_CONSUMER Closes the passed in Closeable immediately. | |
| NULL_CONSUMER | back to summary |
|---|---|
| public static final CloseableConsumer NULL_CONSUMER Ignores the passed in Closeable. | |
| accept | back to summary |
|---|---|
| public void accept(Closeable c) throws IOException Callback that is informed about a Closeable resource that has been wrapped around a passed in stream or channel by Expander or Archiver when Expander or Archiver no longer need them.
| |