|
||||||||||
| 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<java.lang.Object,java.lang.Object>
java.util.Properties
nl.knowledgeplaza.util.Properties
public class Properties
| Field Summary | |
|---|---|
static java.lang.String |
ID_APPLICATION
|
static java.lang.String |
ID_OS
|
static java.lang.String |
ID_SYSTEM
|
static java.lang.String |
ID_USER
|
static java.lang.String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
static java.lang.String |
SYSTEMPROPERTY_APPLICATION
|
static java.lang.String |
SYSTEMPROPERTY_OS
|
static java.lang.String |
SYSTEMPROPERTY_SYSTEM
|
static java.lang.String |
SYSTEMPROPERTY_USER
|
| Fields inherited from class java.util.Properties |
|---|
defaults |
| Constructor Summary | |
|---|---|
Properties()
get all the settings from the system properties |
|
Properties(java.util.Map identifiers)
get all the settings from the system properties then override with provided identifiers |
|
| Method Summary | |
|---|---|
java.util.Enumeration |
coreKeys()
getCoreKeys with an enumarator to mimick keys() |
Properties |
getCollection(java.lang.String prefix)
Fetch all properties that have a certain prefix. |
java.util.List |
getCoreKeys()
Return a list with all keys without the conditions |
java.util.Map |
getGroupedCollection(java.lang.String prefix)
Get all properties that match a prefix and group them. |
java.lang.String |
getIdentifier(java.lang.String key)
|
java.util.Map |
getIdentifiers()
|
java.lang.String |
getProperty(java.lang.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(java.lang.String key,
java.lang.String value)
|
void |
setIdentifiers(java.util.Map<java.lang.String,java.lang.String> identifiers)
|
| Methods inherited from class java.util.Properties |
|---|
getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
| 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 java.lang.String SOURCECODE_VERSION
public static java.lang.String SYSTEMPROPERTY_APPLICATION
public static java.lang.String ID_APPLICATION
public static java.lang.String SYSTEMPROPERTY_SYSTEM
public static java.lang.String ID_SYSTEM
public static java.lang.String SYSTEMPROPERTY_USER
public static java.lang.String ID_USER
public static java.lang.String SYSTEMPROPERTY_OS
public static java.lang.String ID_OS
| Constructor Detail |
|---|
public Properties()
public Properties(java.util.Map identifiers)
| Method Detail |
|---|
public java.lang.String getIdentifier(java.lang.String key)
public void setIdentifier(java.lang.String key,
java.lang.String value)
public java.util.Map getIdentifiers()
public void setIdentifiers(java.util.Map<java.lang.String,java.lang.String> identifiers)
public java.util.List getCoreKeys()
public java.util.Enumeration coreKeys()
public java.lang.String getProperty(java.lang.String name)
getProperty in class java.util.Propertiespublic Properties getCollection(java.lang.String prefix)
prefix -
public java.util.Map getGroupedCollection(java.lang.String prefix)
prefix -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||