org.jscience.util
Class SmartProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by org.jscience.util.SmartProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class SmartProperties
extends java.util.Properties

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
SmartProperties()
          Creates a new SmartProperties object.
SmartProperties(java.util.Properties properties)
          Creates a new SmartProperties object.
 
Method Summary
 java.lang.Boolean getBoolean(java.lang.String s)
          DOCUMENT ME!
 java.awt.Dimension getDimension(java.lang.String key)
          DOCUMENT ME!
 java.lang.Double getDouble(java.lang.String s)
          DOCUMENT ME!
 double[] getDoubles(java.lang.String key)
          DOCUMENT ME!
 java.lang.Float getFloat(java.lang.String s)
          DOCUMENT ME!
 float[] getFloats(java.lang.String key)
          DOCUMENT ME!
 java.lang.Integer getInteger(java.lang.String s)
          DOCUMENT ME!
 int[] getInts(java.lang.String key)
          DOCUMENT ME!
 java.lang.Long getLong(java.lang.String s)
          DOCUMENT ME!
 java.awt.Point getPoint(java.lang.String key)
          DOCUMENT ME!
 javax.vecmath.Point2f getPoint2f(java.lang.String s)
          DOCUMENT ME!
 javax.vecmath.Point3f getPoint3f(java.lang.String s)
          DOCUMENT ME!
 java.lang.String getString(java.lang.String s)
          DOCUMENT ME!
 java.lang.String[] getStrings(java.lang.String key)
          DOCUMENT ME!
 void load(java.lang.String s)
          DOCUMENT ME!
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
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

SmartProperties

public SmartProperties()
Creates a new SmartProperties object.


SmartProperties

public SmartProperties(java.util.Properties properties)
Creates a new SmartProperties object.

Parameters:
properties - DOCUMENT ME!
Method Detail

load

public void load(java.lang.String s)
          throws java.io.IOException
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!

getString

public java.lang.String getString(java.lang.String s)
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!

getBoolean

public java.lang.Boolean getBoolean(java.lang.String s)
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!

getInteger

public java.lang.Integer getInteger(java.lang.String s)
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!

getFloat

public java.lang.Float getFloat(java.lang.String s)
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!

getLong

public java.lang.Long getLong(java.lang.String s)
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!

getDouble

public java.lang.Double getDouble(java.lang.String s)
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!

getPoint2f

public javax.vecmath.Point2f getPoint2f(java.lang.String s)
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!

getPoint3f

public javax.vecmath.Point3f getPoint3f(java.lang.String s)
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!

getDimension

public java.awt.Dimension getDimension(java.lang.String key)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!
Returns:
DOCUMENT ME!

getPoint

public java.awt.Point getPoint(java.lang.String key)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!
Returns:
DOCUMENT ME!

getStrings

public java.lang.String[] getStrings(java.lang.String key)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!
Returns:
DOCUMENT ME!

getInts

public int[] getInts(java.lang.String key)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!
Returns:
DOCUMENT ME!

getFloats

public float[] getFloats(java.lang.String key)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!
Returns:
DOCUMENT ME!

getDoubles

public double[] getDoubles(java.lang.String key)
DOCUMENT ME!

Parameters:
key - DOCUMENT ME!
Returns:
DOCUMENT ME!