public class BasicURLNormalizer extends Object implements URLNormalizer
/./
or /../
http://
Modifier and Type | Field and Description |
---|---|
static String |
NORM_HOST_IDN |
static String |
NORM_HOST_TRIM_TRAILING_DOT |
X_POINT_ID
Constructor and Description |
---|
BasicURLNormalizer() |
Modifier and Type | Method and Description |
---|---|
void |
BasicUrlNormalizer() |
Configuration |
getConf() |
static void |
main(String[] args) |
String |
normalize(String urlString,
String scope) |
void |
setConf(Configuration conf) |
public static final String NORM_HOST_IDN
public static final String NORM_HOST_TRIM_TRAILING_DOT
public void BasicUrlNormalizer()
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
public static void main(String[] args) throws IOException
IOException
Copyright © 2021 The Apache Software Foundation