Package flexagon.ff.common.core.utils
Class FlexFindFilesUtils
java.lang.Object
flexagon.ff.common.core.utils.FlexFindFilesUtils
A class to find files or directories based on name and/or extension.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindDirectoryWithName(String pMatchString) RecursivefindFileWithExtension(String pMatchString) Recursively searches for files that have given file extensionfindFileWithName(String pMatchString) Recursively searches for files matching given file name.
-
Constructor Details
-
FlexFindFilesUtils
-
-
Method Details
-
findFileWithName
Recursively searches for files matching given file name. Name must contain extension- Parameters:
pMatchString-- Returns:
- List of files matching the file name
-
findFileWithExtension
Recursively searches for files that have given file extension- Parameters:
pMatchString-- Returns:
- List of files with file name ending with given string
-
findDirectoryWithName
Recursive- Parameters:
pMatchString-- Returns:
-