public final class CloseableList
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
CloseableList() |
public boolean isClosed()
public void add(java.io.Closeable closeable)
throws java.lang.IllegalStateException,
java.lang.NullPointerException
closeable - the closeable to addjava.lang.IllegalStateException - if the list is already closedjava.lang.NullPointerException - if the argument is nullpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableCopyright © 2014 eXo Platform SAS. All Rights Reserved.