public class HostURLNormalizer extends Object implements URLNormalizer
X_POINT_ID
Constructor and Description |
---|
HostURLNormalizer() |
HostURLNormalizer(String hostsFile) |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConf() |
String |
normalize(String urlString,
String scope) |
protected String |
replaceHost(String urlString,
String host,
String target) |
void |
setConf(Configuration conf) |
public HostURLNormalizer()
public HostURLNormalizer(String hostsFile)
public Configuration getConf()
getConf
in interface Configurable
public void setConf(Configuration conf)
setConf
in interface Configurable
public String normalize(String urlString, String scope) throws MalformedURLException
normalize
in interface URLNormalizer
MalformedURLException
Copyright © 2015 The Apache Software Foundation