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
IOExceptionpublic void clear()
clear in interface Mapclear in class HashMappublic boolean containsKey(String key)
public DocSelCache.Entry get(String key)
public Set<String> keySet()
keySet in interface MapkeySet in class HashMappublic DocSelCache.Entry put(String key, DocSelCache.Entry value)
public DocSelCache.Entry remove(Object key)
remove in interface Mapremove in class HashMappublic int size()
size in interface Mapsize in class HashMappublic Set<Map.Entry<String,DocSelCache.Entry>> entrySet()
entrySet in interface MapentrySet in class HashMap