Package edu.wisc.game.sql
Class PropertiesTable
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,ImageObject>
public class PropertiesTable extends HashMap<String,ImageObject>
This is an auxiliary class, used to read the entire content of a properties
file, and to create ImageObject objects for all image files in the
directory.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
Constructor Summary
Constructors Constructor Description PropertiesTable(File dir)
Reads a properties file, creating and loading an ImageObject for every table entry. -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values