|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.crawler.url.Canonicalizer
public class Canonicalizer
URL canonicalizer.
| Method Summary | |
|---|---|
static java.lang.String |
canonicalize(UURI uuri,
CrawlOrder order)
Convenience method that is passed a settings object instance pulling from it what it needs to canonicalize. |
static java.lang.String |
canonicalize(UURI uuri,
java.util.Iterator rules)
Run the passed uuri through the list of rules. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String canonicalize(UURI uuri,
CrawlOrder order)
uuri - UURI to canonicalize.order - A crawlorder instance.
public static java.lang.String canonicalize(UURI uuri,
java.util.Iterator rules)
uuri - Url to canonicalize.rules - Iterator of canonicalization rules to apply (Get one
of these on the url-canonicalizer-rules element in order files or
create a list externally). Rules must implement the Rule interface.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||