Package org.opencms.util
Class CmsFileUtil.FileWalkState
java.lang.Object
org.opencms.util.CmsFileUtil.FileWalkState
- Enclosing class:
- CmsFileUtil
Data bean which walkFileSystem passes to its callback.
The list of directories is mutable, which can be used by the callback to exclude certain directories.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the current directory.Gets the list of subdirectories.getFiles()
Returns the list of files.
-
Constructor Details
-
FileWalkState
Creates a new file walk state.- Parameters:
currentDir
- the current directorydirs
- the list of subdirectoriesfiles
- the list of files
-
-
Method Details
-
getCurrentDir
Gets the current directory.- Returns:
- the current directory
-
getDirectories
Gets the list of subdirectories.- Returns:
- the list of subdirectories
-
getFiles
Returns the list of files.- Returns:
- the list of files
-