org.archive.wayback.domainprefix
Class DomainPrefixResultURIConverter

java.lang.Object
  extended by org.archive.wayback.domainprefix.DomainPrefixResultURIConverter
All Implemented Interfaces:
ResultURIConverter

public class DomainPrefixResultURIConverter
extends Object
implements ResultURIConverter

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

Constructor Summary
DomainPrefixResultURIConverter()
           
 
Method Summary
 String getHostPort()
           
 String makeReplayURI(String datespec, String url)
          return an absolute URL that will replay URL url at time datespec.
 void setHostPort(String hostPort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomainPrefixResultURIConverter

public DomainPrefixResultURIConverter()
Method Detail

makeReplayURI

public String makeReplayURI(String datespec,
                            String url)
Description copied from interface: ResultURIConverter
return an absolute URL that will replay URL url at time datespec.

Specified by:
makeReplayURI in interface ResultURIConverter
Parameters:
datespec - 14-digit timestamp for the desired Resource
url - for the desired Resource
Returns:
absolute replay URL

getHostPort

public String getHostPort()
Returns:
the hostPort

setHostPort

public void setHostPort(String hostPort)
Parameters:
hostPort - the hostPort to set


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