gov.lanl.archive.rewrite
Class ArchivalUrlResultURIConverter
java.lang.Object
gov.lanl.archive.rewrite.ArchivalUrlResultURIConverter
- All Implemented Interfaces:
- ResultURIConverter
public class ArchivalUrlResultURIConverter
- extends Object
- implements ResultURIConverter
- Version:
- $Date: 2010-09-28 16:28:38 -0600 (Tue, 28 Sep 2010) $, $Revision: 3262 $
- Author:
- brad
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArchivalUrlResultURIConverter
public ArchivalUrlResultURIConverter()
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 Resourceurl
- for the desired Resource
- Returns:
- absolute replay URL
setReplayURIPrefix
public void setReplayURIPrefix(String replayURIPrefix)
- Parameters:
replayURIPrefix
- the replayURIPrefix to set
setAggregatorURIPrefix
public void setAggregatorURIPrefix(String aggregatorURIPrefix)
- Parameters:
aggregatorURIPrefix
- the aggregatorURIPrefix to set
setPageURI
public void setPageURI(String pageURI)
getReplayURIPrefix
public String getReplayURIPrefix()
- Returns:
- the replayURIPrefix
getAggregatorURIPrefix
public String getAggregatorURIPrefix()
- Returns:
- the aggregatorURIPrefix
getPageURI
public String getPageURI()
Copyright © 2013. All Rights Reserved.