Package org.apache.aries.util.filesystem
Interface ICloseableDirectory
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,IDirectory
,IFile
,java.lang.Iterable<IFile>
- All Known Implementing Classes:
CloseableDirectory
,InputStreamClosableDirectory
,NestedCloseableDirectory
,ZipCloseableDirectory
public interface ICloseableDirectory extends IDirectory, java.io.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 toICloseableDirectory
separately.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 org.apache.aries.util.filesystem.IFile
convert, convertNested, getLastModified, getName, getParent, getRoot, getSize, isDirectory, isFile, open, toURL
-
-