Class TypedProperties

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class TypedProperties extends Properties
Provides methods for getting typed properties for the given key.
See Also:
  • Constructor Details

    • TypedProperties

      public TypedProperties(Properties prop)
  • Method Details

    • getInt

      public int getInt(String key)
      Get specified property as int.
      Parameters:
      key -
      Returns:
    • getIntArray

      public int[] getIntArray(String key)
    • getFloat

      public float getFloat(String key)
      Get specified property as float.
      Parameters:
      key - name of the property
      Returns:
    • getFloatArray

      public Float[] getFloatArray(String key)
    • getDouble

      public double getDouble(String key)
      Get specified property as double .
      Parameters:
      key - name of the property
      Returns:
    • getDoubleArray

      public Double[] getDoubleArray(String key)
    • getBoolean

      public boolean getBoolean(String key)
      Get specified property as boolean. .
      Parameters:
      key - name of the property
      Returns:
    • getString

      public String getString(String key)
      Get specified property as String .
      Parameters:
      key - name of the property
      Returns: