Class DirectoryStack
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.DirectoryStack
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDirectory
(File dir) Gets the file given its name in this virtual directory.boolean
isEmpty()
File[]
File[]
listFiles
(FileFilter filter)
-
Field Details
-
dirs
-
-
Constructor Details
-
DirectoryStack
public DirectoryStack() -
DirectoryStack
-
-
Method Details
-
getDirectories
-
isEmpty
public boolean isEmpty() -
addDirectory
- Throws:
IOException
-
getFile
Gets the file given its name in this virtual directory.The canonical file is returned if any file is found
- Parameters:
name
- the file name to lookup- Returns:
- the file in the canonical form
- Throws:
IOException
-
listFiles
-
listFiles
-