|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bankframe.services.resource.BaseBankFrameResource
| Field Summary | |
static long |
DEFAULT_REFRESH_INTERVAL
|
static java.lang.String |
REFRESH_INTERVAL_KEY
|
| 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.net.URL |
getUrl()
This method gets the URL for this resource. |
java.util.Enumeration |
keys()
The method gets all the keys in this cache |
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String REFRESH_INTERVAL_KEY
public static final long DEFAULT_REFRESH_INTERVAL
| Method Detail |
public java.lang.Object get(java.lang.String key)
BankFrameResource
get in interface BankFrameResourcekey - The key for the value to get
BankFrameResource.get(String)public java.lang.String getString(java.lang.String key)
BankFrameResource
getString in interface BankFrameResourcekey - The key for the value to get
BankFrameResource.getString(String)public BankFrameResource getSubset(java.lang.String prefix)
getSubset in interface BankFrameResourceprefix - the prefix that the subset starts with
BankFrameResource instancepublic java.net.URL getUrl()
public java.util.Enumeration keys()
keys in interface BankFrameResource
public java.lang.Object put(java.lang.String key,
java.lang.Object value)
BankFrameResource
put in interface BankFrameResourcekey - the name of the valuevalue - the valueBankFrameResource.put(String, Object)public java.lang.Object remove(java.lang.String key)
BankFrameResource
remove in interface BankFrameResourcekey - the name of the key to removeBankFrameResource.remove(String)public void remove(java.util.Enumeration keys)
BankFrameResource
remove in interface BankFrameResourcekeys - an enumeration of the keys to removeBankFrameResource.remove(Enumeration)public void removeAll()
BankFrameResource
removeAll in interface BankFrameResourceBankFrameResource.removeAll()public void removeSubset(java.lang.String prefix)
BankFrameResource
removeSubset in interface BankFrameResourceprefix - the prefix that the subset starts withBankFrameResource.removeSubset(String)public java.lang.Long getLong(java.lang.String keyName)
BankFrameResource
getLong in interface BankFrameResourceBankFrameResource.getLong(String)public java.lang.Integer getInteger(java.lang.String keyName)
BankFrameResource
getInteger in interface BankFrameResourceBankFrameResource.getInteger(String)public java.lang.Boolean getBoolean(java.lang.String keyName)
BankFrameResource
getBoolean in interface BankFrameResourceBankFrameResource.getBoolean(String)public java.lang.Double getDouble(java.lang.String keyName)
BankFrameResource
getDouble in interface BankFrameResourceBankFrameResource.getDouble(String)public int size()
BankFrameResource
size in interface BankFrameResourceBankFrameResource.size()
public java.lang.String getDescription(java.lang.String key,
java.util.Locale locale)
BankFrameResource
getDescription in interface BankFrameResourceBankFrameResource.getDescription(String, Locale)public java.lang.String getDescription(java.lang.String key)
BankFrameResource
getDescription in interface BankFrameResourceBankFrameResource.getDescription(String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||