de.intarsys.tools.file
Class WildcardMatch
java.lang.Object
de.intarsys.tools.file.WildcardMatch
public class WildcardMatch
- extends java.lang.Object
Handles wildcards for filename matching.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WildcardMatch
public WildcardMatch()
adjustCase
protected char adjustCase(char c)
isIgnoreCase
public boolean isIgnoreCase()
isMatchSeparators
public boolean isMatchSeparators()
match
public boolean match(java.lang.String pattern,
java.lang.String string)
setIgnoreCase
public void setIgnoreCase(boolean newIgnoreCase)
setMatchSeparators
public void setMatchSeparators(boolean newMatchSeparators)