org.archive.wayback.util.url
Class IdentityUrlCanonicalizer

java.lang.Object
  extended by org.archive.wayback.util.url.IdentityUrlCanonicalizer
All Implemented Interfaces:
UrlCanonicalizer

public class IdentityUrlCanonicalizer
extends Object
implements UrlCanonicalizer

Identity UrlCanonicalizer implementation, passing through urls as-is.

Version:
$Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
Author:
brad

Constructor Summary
IdentityUrlCanonicalizer()
           
 
Method Summary
 String urlStringToKey(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityUrlCanonicalizer

public IdentityUrlCanonicalizer()
Method Detail

urlStringToKey

public String urlStringToKey(String url)
                      throws org.apache.commons.httpclient.URIException
Specified by:
urlStringToKey in interface UrlCanonicalizer
Parameters:
url - String representation of an URL, in as original, and unchanged form as possible.
Returns:
a lookup key appropriate for searching within a ResourceIndex.
Throws:
org.apache.commons.httpclient.URIException - if the input url String is not a valid URL.


Copyright © 2005-2011 Internet Archive. All Rights Reserved.