public class DocSelCache
extends HashMap
Modifier and Type | Class and Description |
---|---|
(package private) static class |
DocSelCache.Entry
One entry in the docSelector cache
|
Modifier and Type | Field and Description |
---|---|
String |
dependencies |
HashMap<String,DocSelCache.Entry> |
map |
boolean |
modified |
Constructor and Description |
---|
DocSelCache() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Delegated to underlying map.
|
boolean |
containsKey(String key)
Delegated to underlying map.
|
Set<Map.Entry<String,DocSelCache.Entry>> |
entrySet()
Delegated to underlying map.
|
DocSelCache.Entry |
get(String key)
Delegated to underlying map.
|
Set<String> |
keySet()
Delegated to underlying map.
|
void |
load(File file)
Load a previously saved docSelector cache.
|
DocSelCache.Entry |
put(String key,
DocSelCache.Entry value)
Delegated to underlying map.
|
DocSelCache.Entry |
remove(Object key)
Delegated to underlying map.
|
void |
save(File file)
Save the docSelector cache.
|
int |
size()
Delegated to underlying map.
|
public String dependencies
public HashMap<String,DocSelCache.Entry> map
public boolean modified
public void load(File file) throws IOException
file
- The file to load from.IOException
- If something goes wrong reading the file.public void save(File file) throws IOException
IOException
public void clear()
clear
in interface Map
clear
in class HashMap
public boolean containsKey(String key)
public DocSelCache.Entry get(String key)
public Set<String> keySet()
keySet
in interface Map
keySet
in class HashMap
public DocSelCache.Entry put(String key, DocSelCache.Entry value)
public DocSelCache.Entry remove(Object key)
remove
in interface Map
remove
in class HashMap
public int size()
size
in interface Map
size
in class HashMap
public Set<Map.Entry<String,DocSelCache.Entry>> entrySet()
entrySet
in interface Map
entrySet
in class HashMap