| |
|
| java.lang.Object net.sf.regain.crawler.config.PrefixUrlMatcher
PrefixUrlMatcher | public class PrefixUrlMatcher implements UrlMatcher(Code) | | A UrlMatcher that matches URLs that start with a certain prefix.
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. |
PrefixUrlMatcher | public PrefixUrlMatcher(String urlPrefix)(Code) | | Creates a new instance of PrefixUrlMatcher.
Parameters: urlPrefix - The prefix a URL must start with to be matched by thismatcher. |
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.
|
|
|
|