| java.lang.Object com.bostechcorp.cbesb.runtime.file.FilePatternMatcher
FilePatternMatcher | public class FilePatternMatcher (Code) | | FilePatternMatcher allows matching filenames using Glob style patterns.
Multiple patterns can be specified and if the specified filename matches any
pattern, match() method will return true;
author: j.zhang version: 1.0.0 |
Method Summary | |
public static boolean | matchPattern(String filename, String filePattern, String matchMode) | public static String | processFilePattern(String filename, String filePattern, int fileCount) Determines if the specified filename matches any of the preset patterns.
Parameters: filename - The filename to match against the patterns. |
processFilePattern | public static String processFilePattern(String filename, String filePattern, int fileCount)(Code) | | Determines if the specified filename matches any of the preset patterns.
Parameters: filename - The filename to match against the patterns. True if the filename matches at least one pattern. Falseotherwise. |
|
|