|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
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
com.beasys.commerce.axiom.util.TypedProperties
@Deprecated public class TypedProperties
Extension of properties class to return typed versions of your properties.
Field Summary |
---|
Fields inherited from class java.util.Properties |
---|
defaults |
Constructor Summary | |
---|---|
TypedProperties()
Deprecated See BEA Commerce product offering |
Method Summary | |
---|---|
String[] |
getPropertyAsArray(String aPropertyName)
Deprecated See BEA Commerce product offering |
boolean |
getPropertyAsBool(String aPropertyName)
Deprecated See BEA Commerce product offering |
boolean |
getPropertyAsBool(String aPropertyName,
boolean def)
Deprecated See BEA Commerce product offering |
double |
getPropertyAsDouble(String aPropertyName)
Deprecated See BEA Commerce product offering |
float |
getPropertyAsFloat(String aPropertyName)
Deprecated See BEA Commerce product offering |
double |
getPropertyAsFloat(String aPropertyName,
double def)
Deprecated See BEA Commerce product offering |
float |
getPropertyAsFloat(String aPropertyName,
float def)
Deprecated See BEA Commerce product offering |
int |
getPropertyAsInt(String aPropertyName)
Deprecated See BEA Commerce product offering |
int |
getPropertyAsInt(String aPropertyName,
int def)
Deprecated See BEA Commerce product offering |
long |
getPropertyAsLong(String aPropertyName)
Deprecated See BEA Commerce product offering |
long |
getPropertyAsLong(String aPropertyName,
long def)
Deprecated See BEA Commerce product offering |
String |
getPropertyAsString(String aPropertyName)
Deprecated See BEA Commerce product offering |
int |
getPropertyHexAsInt(String aPropertyName)
Deprecated See BEA Commerce product offering |
int |
getPropertyHexAsInt(String aPropertyName,
int def)
Deprecated See BEA Commerce product offering |
Methods inherited from class java.util.Properties |
---|
getProperty, 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 |
Constructor Detail |
---|
public TypedProperties()
Method Detail |
---|
public int getPropertyAsInt(String aPropertyName, int def)
aPropertyName
- the property name.def
- the default int value if the property is not found.
public int getPropertyAsInt(String aPropertyName)
aPropertyName
- the property name.
public int getPropertyHexAsInt(String aPropertyName, int def)
aPropertyName
- the property name to look for.def
- the default value.
public int getPropertyHexAsInt(String aPropertyName)
aPropertyName
- the property name to look for.
public long getPropertyAsLong(String aPropertyName, long def)
aPropertyName
- the property name.def
- the default value.
public long getPropertyAsLong(String aPropertyName)
aPropertyName
- the property name.
public float getPropertyAsFloat(String aPropertyName, float def)
aPropertyName
- the property name.def
- the default value.
public float getPropertyAsFloat(String aPropertyName)
aPropertyName
- the property name.
public double getPropertyAsFloat(String aPropertyName, double def)
aPropertyName
- the property name.def
- the default value.
public double getPropertyAsDouble(String aPropertyName)
aPropertyName
- the property name.
public String getPropertyAsString(String aPropertyName)
aPropertyName
- the property name.
public boolean getPropertyAsBool(String aPropertyName, boolean def)
aPropertyName
- the property namedef
- the default value
public boolean getPropertyAsBool(String aPropertyName)
aPropertyName
- the property name
public String[] getPropertyAsArray(String aPropertyName)
String
- the property name.
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |