org.archive.wayback.resourcestore.locationdb
Class FlatFileResourceFileLocationDB
java.lang.Object
org.archive.wayback.resourcestore.locationdb.FlatFileResourceFileLocationDB
- All Implemented Interfaces:
- ResourceFileLocationDB
public class FlatFileResourceFileLocationDB
- extends java.lang.Object
- implements ResourceFileLocationDB
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatFileResourceFileLocationDB
public FlatFileResourceFileLocationDB()
addNameUrl
public void addNameUrl(java.lang.String name,
java.lang.String url)
throws java.io.IOException
- Specified by:
addNameUrl in interface ResourceFileLocationDB
- Throws:
java.io.IOException
getCurrentMark
public long getCurrentMark()
throws java.io.IOException
- Specified by:
getCurrentMark in interface ResourceFileLocationDB
- Throws:
java.io.IOException
getNamesBetweenMarks
public CloseableIterator<java.lang.String> getNamesBetweenMarks(long start,
long end)
throws java.io.IOException
- Specified by:
getNamesBetweenMarks in interface ResourceFileLocationDB
- Throws:
java.io.IOException
nameToUrls
public java.lang.String[] nameToUrls(java.lang.String name)
throws java.io.IOException
- Specified by:
nameToUrls in interface ResourceFileLocationDB
- Throws:
java.io.IOException
removeNameUrl
public void removeNameUrl(java.lang.String name,
java.lang.String url)
throws java.io.IOException
- Specified by:
removeNameUrl in interface ResourceFileLocationDB
- Throws:
java.io.IOException
shutdown
public void shutdown()
throws java.io.IOException
- Specified by:
shutdown in interface ResourceFileLocationDB
- Throws:
java.io.IOException
setPath
public void setPath(java.lang.String path)
- Parameters:
path - the path to set
getPath
public java.lang.String getPath()
- Returns:
- the path
setDelimiter
public void setDelimiter(java.lang.String delimiter)
- Parameters:
delimter - the delimiter to set
getDelimiter
public java.lang.String getDelimiter()
- Returns:
- the delimiter
Copyright © 2005-2009 Internet Archive. All Rights Reserved.