com.croftsoft.core.util.filemap
Class FileMap
java.lang.Object
java.util.AbstractMap
com.croftsoft.core.util.filemap.FileMap
- All Implemented Interfaces:
- Map
public class FileMap
- extends AbstractMap
A Map that stores the values in files within a directory.
Uses filenames as the keys and InputStreams as the values.
- Version:
- 1999-04-03
- See Also:
FilenameKeyGenerator
,
AbstractMap
- Author:
- David Wallace Croft
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, size, toString, values |
FileMap
public FileMap(File rootDirectory)
main
public static void main(String[] args)
test
public static boolean test()
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
- Specified by:
entrySet
in class AbstractMap
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
- Overrides:
put
in class AbstractMap
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
- Overrides:
remove
in class AbstractMap
CroftSoft Core Javadoc (2008-09-28 20:58:02)