|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
nl.knowledgeplaza.util.Properties
public class Properties
| Field Summary | |
|---|---|
static String |
ID_APPLICATION
|
static String |
ID_OS
|
static String |
ID_SYSTEM
|
static String |
ID_USER
|
static String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
static String |
SYSTEMPROPERTY_APPLICATION
|
static String |
SYSTEMPROPERTY_OS
|
static String |
SYSTEMPROPERTY_SYSTEM
|
static String |
SYSTEMPROPERTY_USER
|
| Fields inherited from class java.util.Properties |
|---|
defaults |
| Constructor Summary | |
|---|---|
Properties()
get all the settings from the system properties |
|
Properties(Map identifiers)
get all the settings from the system properties then override with provided identifiers |
|
| Method Summary | |
|---|---|
Enumeration |
coreKeys()
getCoreKeys with an enumarator to mimick keys() |
Properties |
getCollection(String prefix)
Fetch all properties that have a certain prefix. |
List |
getCoreKeys()
Return a list with all keys without the conditions |
Map |
getGroupedCollection(String prefix)
Get all properties that match a prefix and group them. |
String |
getIdentifier(String key)
|
Map |
getIdentifiers()
|
String |
getProperty(String name)
Get a property value If there are multiple conditional properties for the same key, fetch the one with the highest condition match. |
void |
setIdentifier(String key,
String value)
|
void |
setIdentifiers(Map<String,String> identifiers)
|
| Methods inherited from class java.util.Properties |
|---|
getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String SOURCECODE_VERSION
public static String SYSTEMPROPERTY_APPLICATION
public static String ID_APPLICATION
public static String SYSTEMPROPERTY_SYSTEM
public static String ID_SYSTEM
public static String SYSTEMPROPERTY_USER
public static String ID_USER
public static String SYSTEMPROPERTY_OS
public static String ID_OS
| Constructor Detail |
|---|
public Properties()
public Properties(Map identifiers)
| Method Detail |
|---|
public String getIdentifier(String key)
public void setIdentifier(String key,
String value)
public Map getIdentifiers()
public void setIdentifiers(Map<String,String> identifiers)
public List getCoreKeys()
public Enumeration coreKeys()
public String getProperty(String name)
getProperty in class Propertiespublic Properties getCollection(String prefix)
prefix -
public Map getGroupedCollection(String prefix)
prefix -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||