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 ResourceFileLocationDB
name
- url
- IOException
public long getCurrentMark() throws IOException
getCurrentMark
in interface ResourceFileLocationDB
IOException
public org.archive.util.iterator.CloseableIterator<String> getNamesBetweenMarks(long start, long end) throws IOException
getNamesBetweenMarks
in interface ResourceFileLocationDB
start
- end
- IOException
public String[] nameToUrls(String name) throws IOException
nameToUrls
in interface ResourceFileLocationDB
name
- IOException
public void removeNameUrl(String name, String url) throws IOException
removeNameUrl
in interface ResourceFileLocationDB
name
- url
- IOException
public void shutdown() throws IOException
shutdown
in interface ResourceFileLocationDB
IOException
public 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.