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