|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oodt.cas.metadata.util.PropertiesUtils
public final class PropertiesUtils
Utility methods for handing property values
.| Constructor Summary | |
|---|---|
PropertiesUtils()
|
|
| Method Summary | |
|---|---|
static String[] |
getProperties(String property)
Loads and parses a given property |
static String[] |
getProperties(String property,
String[] defaultValues)
Loads a set of System properties that are specified as comma-delimited strings and returns an array of String values for the specified property. |
static String |
getProperty(String property)
Loads and parses a given property |
static String |
getProperty(String property,
String defaultValue)
Loads and parses a given property |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesUtils()
| Method Detail |
|---|
public static String[] getProperties(String property,
String[] defaultValues)
property - The property to read from the system properties.defaultValues - A set of default values to use for the property.
public static String[] getProperties(String property)
property - The property to be loaded and parsed
public static String getProperty(String property,
String defaultValue)
property - The property to read from the system properties.defaultValues - A default value to use for the property.
public static String getProperty(String property)
property - The property to be loaded and parsed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||