agentland.resource
Class ResourceProperties
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--agentland.resource.ResourceProperties
- public class ResourceProperties
- extends Hashtable
- implements Serializable, Cloneable
This class is for passing around lists of properties of
resources. Unlike Luke's Context class, it is for obtaining
properties of existing resources rather than for specifying
properties of desired resources. It also allows types other than
String...
Created: Sun Nov 26 22:35:52 2000
- See Also:
Context
, Serialized Form
Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
rehash,
remove,
size,
toString,
values |
ResourceProperties
public ResourceProperties(String name)
getName
public String getName()
- The name of the resource the properties belong to
- Returns:
- Value of name.
getString
public String getString(Object key)
getInt
public int getInt(Object key)