public interface Configuration
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(java.lang.String propertyName) |
java.lang.String |
get(java.lang.String propertyName,
java.lang.String defaultValue) |
java.lang.String[] |
getAll(java.lang.String propertyName) |
boolean |
getBoolean(java.lang.String propertyName) |
boolean |
getBoolean(java.lang.String propertyName,
boolean defaultValue) |
boolean[] |
getBooleans(java.lang.String propertyName) |
double |
getDouble(java.lang.String propertyName) |
double |
getDouble(java.lang.String propertyName,
double defaultValue) |
double[] |
getDoubles(java.lang.String propertyName) |
int |
getInt(java.lang.String propertyName) |
int |
getInt(java.lang.String propertyName,
int defaultValue) |
int[] |
getInts(java.lang.String propertyName) |
long |
getLong(java.lang.String propertyName) |
long |
getLong(java.lang.String propertyName,
long defaultValue) |
long[] |
getLongs(java.lang.String propertyName) |
java.util.Set<java.lang.String> |
keySet() |
void |
put(java.lang.String name,
java.lang.Object value) |
java.lang.String get(java.lang.String propertyName)
java.lang.String[] getAll(java.lang.String propertyName)
propertyName
- dittoint[] getInts(java.lang.String propertyName)
long[] getLongs(java.lang.String propertyName)
double[] getDoubles(java.lang.String propertyName)
boolean[] getBooleans(java.lang.String propertyName)
java.lang.String get(java.lang.String propertyName, java.lang.String defaultValue)
int getInt(java.lang.String propertyName)
int getInt(java.lang.String propertyName, int defaultValue)
long getLong(java.lang.String propertyName)
long getLong(java.lang.String propertyName, long defaultValue)
double getDouble(java.lang.String propertyName)
double getDouble(java.lang.String propertyName, double defaultValue)
boolean getBoolean(java.lang.String propertyName)
boolean getBoolean(java.lang.String propertyName, boolean defaultValue)
void put(java.lang.String name, java.lang.Object value)
name
- the Property namevalue
- typically a String, but could be a String[] toojava.util.Set<java.lang.String> keySet()