All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.logic.ItemProperties

java.lang.Object
   |
   +----java.util.Dictionary
           |
           +----java.util.Hashtable
                   |
                   +----java.util.Properties
                           |
                           +----guinea.util.ExtProperties
                                   |
                                   +----guinea.logic.ItemProperties

public class ItemProperties
extends ExtProperties

Constructor Index

· ItemProperties()
· ItemProperties(String)
· ItemProperties(String, Properties)

Method Index

· getBooleanProperty(String)
· getName()
· getNumberProperty(String)
· getProperty(String)
Searches for the property with the specified key in this property list.
· getProperty(String, String)
Searches for the property with the specified key in this property list.
· getStringProperty(String)
· numProperties()
Get number of properties in this properties list.
· propertyNames()
Return an enumeration of all the keys in the property list.
· put(Object, Object)
Maps the specified key to the specified value in this hashtable.

Constructors

· ItemProperties
 public ItemProperties()
· ItemProperties
 public ItemProperties(String name)
· ItemProperties
 public ItemProperties(String name,
                       Properties defaults)

Methods

· getProperty
 public String getProperty(String pname)
Searches for the property with the specified key in this property list.

Overrides:
getProperty in class Properties
· getProperty
 public String getProperty(String pname,
                           String def)
Searches for the property with the specified key in this property list.

Overrides:
getProperty in class Properties
· getName
 public String getName()
· put
 public Object put(Object key,
                   Object value)
Maps the specified key to the specified value in this hashtable.

Overrides:
put in class Hashtable
· getNumberProperty
 public Number getNumberProperty(String name)
· getStringProperty
 public String getStringProperty(String name)
· getBooleanProperty
 public boolean getBooleanProperty(String name)
· propertyNames
 public Enumeration propertyNames()
Return an enumeration of all the keys in the property list.

Returns:
an enumeration of all the keys in the property list.
Overrides:
propertyNames in class Properties
· numProperties
 public int numProperties()
Get number of properties in this properties list.

Returns:
Number of properties.

All Packages  Class Hierarchy  This Package  Previous  Next  Index