org.archive.wayback.resourceindex.updater
Class IndexClient

java.lang.Object
  extended by org.archive.wayback.resourceindex.updater.IndexClient

public class IndexClient
extends Object

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

Constructor Summary
IndexClient()
           
 
Method Summary
 boolean addCDX(File cdx)
           
 boolean addSearchResults(String base, Iterator<CaptureSearchResult> itr)
           
 String getTarget()
           
 String getTmpDir()
           
 void setTarget(String target)
           
 void setTmpDir(String tmpDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexClient

public IndexClient()
Method Detail

addCDX

public boolean addCDX(File cdx)
               throws org.apache.commons.httpclient.HttpException,
                      IOException
Parameters:
cdx -
Returns:
true if CDX was added to local or remote index
Throws:
org.apache.commons.httpclient.HttpException
IOException

addSearchResults

public boolean addSearchResults(String base,
                                Iterator<CaptureSearchResult> itr)
                         throws org.apache.commons.httpclient.HttpException,
                                IOException
Parameters:
base -
itr -
Returns:
true if data was added to local or remote index
Throws:
org.apache.commons.httpclient.HttpException
IOException

getTarget

public String getTarget()
Returns:
the target

setTarget

public void setTarget(String target)
Parameters:
target - the target to set

getTmpDir

public String getTmpDir()
Returns:
the tmpDir

setTmpDir

public void setTmpDir(String tmpDir)
Parameters:
tmpDir - the tmpDir to set


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