|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.util.PropertyUtil
public class PropertyUtil
| Constructor Summary | |
|---|---|
PropertyUtil()
|
|
| Method Summary | |
|---|---|
static void |
expandVariables(java.util.Map props)
Expand variable references in property values. |
static java.util.Properties |
loadProperties(java.lang.String file)
Load properties from a file. |
static void |
storeProperties(java.lang.String file,
java.util.Properties props,
java.lang.String header)
Store properties to a file |
static void |
stripKeys(java.util.Properties props,
java.lang.String prefix)
Strip a prefix from the keys in a properties object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyUtil()
| Method Detail |
|---|
public static void expandVariables(java.util.Map props)
props - Properties to replace
public static void stripKeys(java.util.Properties props,
java.lang.String prefix)
public static java.util.Properties loadProperties(java.lang.String file)
throws java.io.IOException
java.io.IOException
public static void storeProperties(java.lang.String file,
java.util.Properties props,
java.lang.String header)
throws java.io.IOException
java.io.IOException
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||