| |
|
| java.lang.Object org.archive.crawler.settings.refinements.RegularExpressionCriteria
RegularExpressionCriteria | public class RegularExpressionCriteria implements Criteria(Code) | | A refinement criteria that test if a URI matches a regular expression.
author: John Erik Halse |
RegularExpressionCriteria | public RegularExpressionCriteria()(Code) | | Create a new instance of RegularExpressionCriteria.
|
RegularExpressionCriteria | public RegularExpressionCriteria(String regexp)(Code) | | Create a new instance of RegularExpressionCriteria initializing it with
a regular expression.
Parameters: regexp - the regular expression for this criteria. |
getRegexp | public String getRegexp()(Code) | | Get the regular expression to be matched against a URI.
Returns the regexp. |
isWithinRefinementBounds | public boolean isWithinRefinementBounds(UURI uri)(Code) | | |
setRegexp | public void setRegexp(String regexp)(Code) | | Set the regular expression to be matched against a URI.
Parameters: regexp - The regexp to set. |
|
|
|