org.apache.aries.util.filesystem
Interface ICloseableDirectory

All Superinterfaces:
Closeable, IDirectory, IFile, Iterable<IFile>

public interface ICloseableDirectory
extends IDirectory, Closeable

Implementation of IDirectory that is more efficient for batch operations as it does not due automatic resource management. Instead the user has to explicitly call close to release resources. Resources are cached for the current IDirectory archive only. Nested archives should be converted to ICloseableDirectory separately.


Method Summary
 boolean isClosed()
          Checks whether the closeable directory has been closed
 
Methods inherited from interface org.apache.aries.util.filesystem.IDirectory
getFile, isRoot, listAllFiles, listFiles, toCloseable
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface org.apache.aries.util.filesystem.IFile
convert, convertNested, getLastModified, getName, getParent, getRoot, getSize, isDirectory, isFile, open, toURL
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

isClosed

boolean isClosed()
Checks whether the closeable directory has been closed



Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.