org.archive.wayback.resourceindex.updater
Class IndexClient
java.lang.Object
org.archive.wayback.resourceindex.updater.IndexClient
public class IndexClient
- extends java.lang.Object
- Version:
- $Date: 2008-07-01 16:31:37 -0700 (Tue, 01 Jul 2008) $, $Revision: 2362 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexClient
public IndexClient()
addCDX
public boolean addCDX(java.io.File cdx)
throws org.apache.commons.httpclient.HttpException,
java.io.IOException
- Parameters:
cdx -
- Returns:
- true if CDX was added to local or remote index
- Throws:
org.apache.commons.httpclient.HttpException
java.io.IOException
addSearchResults
public boolean addSearchResults(java.lang.String base,
java.util.Iterator<CaptureSearchResult> itr)
throws org.apache.commons.httpclient.HttpException,
java.io.IOException
- Parameters:
base - itr -
- Returns:
- true if data was added to local or remote index
- Throws:
org.apache.commons.httpclient.HttpException
java.io.IOException
getTarget
public java.lang.String getTarget()
- Returns:
- the target
setTarget
public void setTarget(java.lang.String target)
- Parameters:
target - the target to set
getTmpDir
public java.lang.String getTmpDir()
- Returns:
- the tmpDir
setTmpDir
public void setTmpDir(java.lang.String tmpDir)
- Parameters:
tmpDir - the tmpDir to set
Copyright © 2005-2009 Internet Archive. All Rights Reserved.