com.togethersoft.openapi.util.file
Class WildcardFileFilter.Mask
- private class WildcardFileFilter.Mask
Inner helper class
| Field Summary |
private Perl5Matcher | myMatcher used to match regular expressions (conforming to the Perl5 regular expression syntax) generated by Perl5Compiler. |
private Perl5Pattern | myPattern Pattern for Perl5 regular expressions |
private boolean | myStarFlag Indicates what pattern equals "*" |
| Method Summary |
boolean | accept(String candidate) |
private boolean | compileExpression(String expression) At usage of regular expressions compiles expression in Perl5Pattern with default options, |
private void | init(String text) |
boolean | isAnyFileMask() |
myMatcher
private Perl5Matcher myMatcher
- used to match regular expressions (conforming to the Perl5 regular expression syntax) generated by Perl5Compiler.
myPattern
private Perl5Pattern myPattern
- Pattern for Perl5 regular expressions
- See Also:
- com.oroinc.text.regex.Pattern
myStarFlag
private boolean myStarFlag
- Indicates what pattern equals "*"
WildcardFileFilter.Mask
public WildcardFileFilter.Mask(String mask)
accept
public boolean accept(String candidate)
compileExpression
private boolean compileExpression(String expression)
- At usage of regular expressions compiles expression in Perl5Pattern with default options,
init
private void init(String text)
isAnyFileMask
public boolean isAnyFileMask()