| java.lang.Object org.andromda.core.common.PathMatcher
PathMatcher | public class PathMatcher (Code) | | Provides wild card matching on file paths (i.e. Cartridge.java will match *.java , etc).
author: Chad Brandon |
wildcardMatch | public static boolean wildcardMatch(String path, String pattern)(Code) | | Provides matching of simple wildcards. (i.e. '*.java' etc.)
Parameters: path - the path to match against. Parameters: pattern - the pattern to check if the path matches. true if the path matches the given pattern , false otherwise. |
|
|