public final class RegularExpressionExclusionRule extends Object implements InclusionRuleWithRegularExpression
Constructor and Description |
---|
RegularExpressionExclusionRule(Pattern patternExclude)
Set exclude pattern.
|
RegularExpressionExclusionRule(String patternExclude)
Set exclude 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 RegularExpressionExclusionRule(Pattern patternExclude)
patternExclude
- Exclusion pattern. If null, excludes nothing.public RegularExpressionExclusionRule(String patternExclude)
patternExclude
- Exclusion pattern. If null, excludes nothing.public Pattern getExclusionPattern()
InclusionRuleWithRegularExpression
getExclusionPattern
in interface InclusionRuleWithRegularExpression
public Pattern getInclusionPattern()
InclusionRuleWithRegularExpression
getInclusionPattern
in interface InclusionRuleWithRegularExpression
Copyright © 2000-2025 Sualeh Fatehi. All rights reserved.