public final class RegularExpressionInclusionRule extends Object implements InclusionRuleWithRegularExpression
| Constructor and Description |
|---|
RegularExpressionInclusionRule(Pattern patternInclude)
Set include pattern.
|
RegularExpressionInclusionRule(String patternInclude)
Set include pattern.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Pattern |
getExclusionPattern()
Returns the regular expression for the exclusion rule.
|
Pattern |
getInclusionPattern()
Returns the regular expression for the inclusion rule.
|
int |
hashCode() |
boolean |
test(String text) |
String |
toString() |
public RegularExpressionInclusionRule(Pattern patternInclude)
patternInclude - Inclusion pattern. If null, includes everything.public RegularExpressionInclusionRule(String patternInclude)
patternInclude - Inclusion pattern. If null, includes everything.public Pattern getExclusionPattern()
InclusionRuleWithRegularExpressiongetExclusionPattern in interface InclusionRuleWithRegularExpressionpublic Pattern getInclusionPattern()
InclusionRuleWithRegularExpressiongetInclusionPattern in interface InclusionRuleWithRegularExpressionCopyright © 2000-2024 Sualeh Fatehi. All rights reserved.