Save This Page
Home » quartz-1.6.0 » org » quartz » utils » [javadoc | source]
org.quartz.utils
public class: PropertiesParser [javadoc | source]
java.lang.Object
   org.quartz.utils.PropertiesParser

This is an utility calss used to parse the properties.

Field Summary
 Properties props     
Constructor:
 public PropertiesParser(Properties props) 
Method from org.quartz.utils.PropertiesParser Summary:
getBooleanProperty,   getBooleanProperty,   getByteProperty,   getByteProperty,   getCharProperty,   getCharProperty,   getDoubleProperty,   getDoubleProperty,   getFloatProperty,   getFloatProperty,   getIntArrayProperty,   getIntArrayProperty,   getIntProperty,   getIntProperty,   getLongProperty,   getLongProperty,   getPropertyGroup,   getPropertyGroup,   getPropertyGroup,   getPropertyGroups,   getShortProperty,   getShortProperty,   getStringArrayProperty,   getStringArrayProperty,   getStringProperty,   getStringProperty,   getUnderlyingProperties
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.utils.PropertiesParser Detail:
 public boolean getBooleanProperty(String name) 
 public boolean getBooleanProperty(String name,
    boolean def) 
 public byte getByteProperty(String name) throws NumberFormatException 
 public byte getByteProperty(String name,
    byte def) throws NumberFormatException 
 public char getCharProperty(String name) 
 public char getCharProperty(String name,
    char def) 
 public double getDoubleProperty(String name) throws NumberFormatException 
 public double getDoubleProperty(String name,
    double def) throws NumberFormatException 
 public float getFloatProperty(String name) throws NumberFormatException 
 public float getFloatProperty(String name,
    float def) throws NumberFormatException 
 public int[] getIntArrayProperty(String name) throws NumberFormatException 
 public int[] getIntArrayProperty(String name,
    int[] def) throws NumberFormatException 
 public int getIntProperty(String name) throws NumberFormatException 
 public int getIntProperty(String name,
    int def) throws NumberFormatException 
 public long getLongProperty(String name) throws NumberFormatException 
 public long getLongProperty(String name,
    long def) throws NumberFormatException 
 public Properties getPropertyGroup(String prefix) 
 public Properties getPropertyGroup(String prefix,
    boolean stripPrefix) 
 public Properties getPropertyGroup(String prefix,
    boolean stripPrefix,
    String[] excludedPrefixes) 
    Get all properties that start with the given prefix.
 public String[] getPropertyGroups(String prefix) 
 public short getShortProperty(String name) throws NumberFormatException 
 public short getShortProperty(String name,
    short def) throws NumberFormatException 
 public String[] getStringArrayProperty(String name) 
 public String[] getStringArrayProperty(String name,
    String[] def) 
 public String getStringProperty(String name) 
    Get the trimmed String value of the property with the given name. If the value the empty String (after trimming), then it returns null.
 public String getStringProperty(String name,
    String def) 
    Get the trimmed String value of the property with the given name or the given default value if the value is null or empty after trimming.
 public Properties getUnderlyingProperties()