public class IdentityUrlCanonicalizer extends Object implements UrlCanonicalizer
Constructor and Description |
---|
IdentityUrlCanonicalizer() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSurtForm()
Returns true if this Canonicalizer returns SURTs, false is URLs
|
String |
urlStringToKey(String url) |
public String urlStringToKey(String url) throws org.apache.commons.httpclient.URIException
urlStringToKey
in interface UrlCanonicalizer
url
- String representation of an URL, in as original, and
unchanged form as possible.org.apache.commons.httpclient.URIException
- if the input url String is not a valid URL.public boolean isSurtForm()
UrlCanonicalizer
isSurtForm
in interface UrlCanonicalizer
Copyright © 2005–2015 IIPC. All rights reserved.