|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--java.util.Properties | +--com.beasys.commerce.axiom.util.TypedProperties | +--com.beasys.commerce.axiom.util.helper.CommercePropertiesHelper
Subclass of the typed properties class, that will return properties as longs, strings, double, etc. Also implements a way to find keys that start with a value. e.g. find me all of the keys that start with personalization.portal.
Field Summary | |
static java.lang.String |
SYSTEM_PROPERTY_KEY
|
Constructor Summary | |
CommercePropertiesHelper()
|
Method Summary | |
static CommercePropertiesHelper |
getInstance()
Get the singleton instance. |
java.lang.String[] |
getKeysFor(java.lang.String startsWith)
Get all of the keys for the properties table that start with the given string. |
void |
load()
Load. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class com.beasys.commerce.axiom.util.TypedProperties |
getPropertyAsArray,
getPropertyAsBool,
getPropertyAsBool,
getPropertyAsDouble,
getPropertyAsFloat,
getPropertyAsFloat,
getPropertyAsFloat,
getPropertyAsInt,
getPropertyAsInt,
getPropertyAsLong,
getPropertyAsLong,
getPropertyAsString,
getPropertyHexAsInt,
getPropertyHexAsInt |
Methods inherited from class java.util.Properties |
getProperty,
getProperty,
list,
list,
load,
propertyNames,
save,
setProperty,
store |
Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
remove,
size,
toString,
values |
Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String SYSTEM_PROPERTY_KEY
Constructor Detail |
public CommercePropertiesHelper()
Method Detail |
public static CommercePropertiesHelper getInstance()
CommercePropertiesHelper
public void load() throws java.io.IOException
public java.lang.String[] getKeysFor(java.lang.String startsWith)
startsWith
- String[]
public static void main(java.lang.String[] args)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |