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()
InclusionRuleWithRegularExpressiongetExclusionPattern in interface InclusionRuleWithRegularExpressionpublic Pattern getInclusionPattern()
InclusionRuleWithRegularExpressiongetInclusionPattern in interface InclusionRuleWithRegularExpressionCopyright © 2000-2024 Sualeh Fatehi. All rights reserved.