public class SlashURLNormalizer extends Object implements URLNormalizer
X_POINT_ID
Constructor and Description |
---|
SlashURLNormalizer() |
SlashURLNormalizer(String slashesFile) |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConf() |
String |
normalize(String url,
CrawlDatum crawlDatum,
String scope) |
String |
normalize(String url,
String scope) |
void |
setConf(Configuration conf) |
public SlashURLNormalizer()
public SlashURLNormalizer(String slashesFile)
public Configuration getConf()
getConf
in interface Configurable
public void setConf(Configuration conf)
setConf
in interface Configurable
public String normalize(String url, String scope) throws MalformedURLException
normalize
in interface URLNormalizer
MalformedURLException
public String normalize(String url, CrawlDatum crawlDatum, String scope) throws MalformedURLException
MalformedURLException
Copyright © 2015 The Apache Software Foundation