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