public class IndexClient extends Object
Constructor and Description |
---|
IndexClient() |
Modifier and Type | Method and Description |
---|---|
boolean |
addCDX(File cdx) |
boolean |
addSearchResults(String base,
Iterator<CaptureSearchResult> itr) |
String |
getTarget() |
String |
getTmpDir() |
void |
setTarget(String target) |
void |
setTmpDir(String tmpDir) |
public boolean addCDX(File cdx) throws org.apache.commons.httpclient.HttpException, IOException
cdx
- org.apache.commons.httpclient.HttpException
IOException
public boolean addSearchResults(String base, Iterator<CaptureSearchResult> itr) throws org.apache.commons.httpclient.HttpException, IOException
base
- itr
- org.apache.commons.httpclient.HttpException
IOException
public String getTarget()
public void setTarget(String target)
target
- the target to setpublic String getTmpDir()
public void setTmpDir(String tmpDir)
tmpDir
- the tmpDir to setCopyright © 2005–2017 IIPC. All rights reserved.