public class WaybackURLKeyMaker extends java.lang.Object implements URLKeyMaker
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<RewriteRule> |
customRules |
| Constructor and Description |
|---|
WaybackURLKeyMaker() |
WaybackURLKeyMaker(boolean surtMode) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
applyCustomRules(java.lang.String urlkey) |
URLCanonicalizer |
getCanonicalizer() |
java.util.List<RewriteRule> |
getCustomRules() |
boolean |
isSurtMode() |
java.lang.String |
makeKey(java.lang.String url) |
void |
setCanonicalizer(URLCanonicalizer canonicalizer) |
void |
setCustomRules(java.util.List<RewriteRule> customRules) |
protected java.util.List<RewriteRule> customRules
public WaybackURLKeyMaker()
public WaybackURLKeyMaker(boolean surtMode)
public URLCanonicalizer getCanonicalizer()
public void setCanonicalizer(URLCanonicalizer canonicalizer)
public boolean isSurtMode()
public java.lang.String makeKey(java.lang.String url)
throws java.net.URISyntaxException
makeKey in interface URLKeyMakerjava.net.URISyntaxExceptionpublic java.util.List<RewriteRule> getCustomRules()
public void setCustomRules(java.util.List<RewriteRule> customRules)
protected java.lang.String applyCustomRules(java.lang.String urlkey)
Copyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.