|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.rrd.RrdConfig
public class RrdConfig
Provides access to the rrd configuration data.
| Constructor Summary | |
|---|---|
RrdConfig()
|
|
| Method Summary | |
|---|---|
static boolean |
getProperty(java.lang.String name,
boolean defaultVal)
Get a boolean valued property, returning default value if it is not set or is set to an invalid value. |
static int |
getProperty(java.lang.String name,
int defaultVal)
Get a int valued property, returning default value if it is not set or is set to an invalid value. |
static long |
getProperty(java.lang.String name,
long defaultVal)
Get a long valued property, returning default value if it is not set or is set to an invalid value |
static java.lang.String |
getProperty(java.lang.String name,
java.lang.String defaultVal)
Get a string valued property, returning default value if it is not set. |
static void |
loadProperties(java.io.InputStream in)
|
static void |
setProperties(java.util.Properties properties)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RrdConfig()
| Method Detail |
|---|
public static void loadProperties(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic static void setProperties(java.util.Properties properties)
public static java.lang.String getProperty(java.lang.String name,
java.lang.String defaultVal)
name - the property namedefaultVal - the default value to use if the property is not set
public static boolean getProperty(java.lang.String name,
boolean defaultVal)
name - the property namedefaultVal - the default value to use if the property is not set
public static int getProperty(java.lang.String name,
int defaultVal)
name - the property namedefaultVal - the default value to use if the property is not set
public static long getProperty(java.lang.String name,
long defaultVal)
name - the property namedefaultVal - the default value to use if the property is not set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||