| |
|
| java.lang.Object net.sf.regain.crawler.config.RegexUrlMatcher
RegexUrlMatcher | public class RegexUrlMatcher implements UrlMatcher(Code) | | An UrlMatcher that matches URLs that match to a regular expression.
author: Tilman Schneider, STZ-IDA an der FH Karlsruhe |
Method Summary | |
public boolean | matches(String url) Checks whether a URL matches to the rules of this matcher.
Parameters: url - The URL to check. | public String | toString() Gets a String representation of this UrlMatcher. |
RegexUrlMatcher | public RegexUrlMatcher(String regex) throws RegainException(Code) | | Creates a new instance of RegexUrlMatcher.
Parameters: regex - The regular expression a URL must match to in order to bematched by this matcher. throws: RegainException - |
matches | public boolean matches(String url)(Code) | | Checks whether a URL matches to the rules of this matcher.
Parameters: url - The URL to check. Whether the given URL matches to the rules of this matcher. |
toString | public String toString()(Code) | | Gets a String representation of this UrlMatcher.
|
|
|
|