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

Constructor Summary
ResourceProperties(String name)
           
 
Method Summary
 int getInt(Object key)
           
 String getName()
          The name of the resource the properties belong to
 String getString(Object key)
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceProperties

public ResourceProperties(String name)
Method Detail

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)