public class FlatFileResourceFileLocationDB extends Object implements ResourceFileLocationDB
| Constructor and Description |
|---|
FlatFileResourceFileLocationDB() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNameUrl(String name,
String url)
This method currently does nothing.
|
long |
getCurrentMark() |
String |
getDelimiter() |
org.archive.util.iterator.CloseableIterator<String> |
getNamesBetweenMarks(long start,
long end) |
String |
getPath() |
String[] |
nameToUrls(String name) |
void |
removeNameUrl(String name,
String url)
This method currently does nothing.
|
void |
setDelimiter(String delimiter) |
void |
setPath(String path) |
void |
shutdown()
This method currently does nothing.
|
public void addNameUrl(String name, String url) throws IOException
addNameUrl in interface ResourceFileLocationDBname - url - IOExceptionpublic long getCurrentMark()
throws IOException
getCurrentMark in interface ResourceFileLocationDBIOExceptionpublic org.archive.util.iterator.CloseableIterator<String> getNamesBetweenMarks(long start, long end) throws IOException
getNamesBetweenMarks in interface ResourceFileLocationDBstart - end - IOExceptionpublic String[] nameToUrls(String name) throws IOException
nameToUrls in interface ResourceFileLocationDBname - IOExceptionpublic void removeNameUrl(String name, String url) throws IOException
removeNameUrl in interface ResourceFileLocationDBname - url - IOExceptionpublic void shutdown()
throws IOException
shutdown in interface ResourceFileLocationDBIOExceptionpublic void setPath(String path)
path - the path to setpublic String getPath()
public void setDelimiter(String delimiter)
delimiter - public String getDelimiter()
Copyright © 2005–2015 IIPC. All rights reserved.