|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods provided by a BankFrameResource.
Method Summary | |
java.lang.Object |
get(java.lang.String key)
This method gets a value. |
java.lang.Boolean |
getBoolean(java.lang.String keyName)
This method gets the value of the specified property as a Boolean value. |
java.lang.String |
getDescription(java.lang.String key)
This method gets a textual description for the specified key (or subset) |
java.lang.String |
getDescription(java.lang.String key,
java.util.Locale locale)
This method gets a textual description for the specified key (or subset) localised to the specified locale |
java.lang.Double |
getDouble(java.lang.String keyName)
This method gets the value of the specified property as a Double object. |
java.lang.Integer |
getInteger(java.lang.String keyName)
This method gets the value of the specified property as an Integer object. |
java.lang.Long |
getLong(java.lang.String keyName)
This method gets the value of the specified property as a Long object. |
java.lang.String |
getString(java.lang.String key)
This method gets a value. |
BankFrameResource |
getSubset(java.lang.String prefix)
This method gets a subset of values whose keys all begin with the specified prefix. |
java.util.Enumeration |
keys()
Gets all the keys in the properties file. |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
This method adds a key/value to the resource. |
void |
remove(java.util.Enumeration keys)
This method removes keys from the resource. |
java.lang.Object |
remove(java.lang.String key)
This method removes a value from the resource. |
void |
removeAll()
This method releases all resources used by this instance. |
void |
removeSubset(java.lang.String prefix)
This method removes a subset of values from the resource. |
int |
size()
This method returns the number of elements in the resource |
Method Detail |
public java.lang.Object get(java.lang.String key)
key
- The key for the value to get
public java.lang.String getString(java.lang.String key)
key
- The key for the value to get
public java.lang.Long getLong(java.lang.String keyName)
public java.lang.Integer getInteger(java.lang.String keyName)
public java.lang.Double getDouble(java.lang.String keyName)
public java.lang.Boolean getBoolean(java.lang.String keyName)
public BankFrameResource getSubset(java.lang.String prefix)
prefix
- The prefix that the subset starts with
BankFrameResource instance containing the subset
public java.util.Enumeration keys()
public java.lang.Object put(java.lang.String key, java.lang.Object value)
key
- the name of the valuevalue
- the valuepublic java.lang.Object remove(java.lang.String key)
key
- the name of the key to removepublic void remove(java.util.Enumeration keys)
keys
- an enumeration of the keys to removepublic void removeAll()
public void removeSubset(java.lang.String prefix)
prefix
- the prefix that the subset starts withpublic int size()
public java.lang.String getDescription(java.lang.String key)
public java.lang.String getDescription(java.lang.String key, java.util.Locale locale)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |