|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 BankFrameResource
key
- The key for the value to get
BankFrameResource.get(String)
public java.lang.String getString(java.lang.String key)
BankFrameResource
getString
in interface BankFrameResource
key
- The key for the value to get
BankFrameResource.getString(String)
public BankFrameResource getSubset(java.lang.String prefix)
getSubset
in interface BankFrameResource
prefix
- 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 BankFrameResource
key
- the name of the valuevalue
- the valueBankFrameResource.put(String, Object)
public java.lang.Object remove(java.lang.String key)
BankFrameResource
remove
in interface BankFrameResource
key
- the name of the key to removeBankFrameResource.remove(String)
public void remove(java.util.Enumeration keys)
BankFrameResource
remove
in interface BankFrameResource
keys
- an enumeration of the keys to removeBankFrameResource.remove(Enumeration)
public void removeAll()
BankFrameResource
removeAll
in interface BankFrameResource
BankFrameResource.removeAll()
public void removeSubset(java.lang.String prefix)
BankFrameResource
removeSubset
in interface BankFrameResource
prefix
- the prefix that the subset starts withBankFrameResource.removeSubset(String)
public java.lang.Long getLong(java.lang.String keyName)
BankFrameResource
getLong
in interface BankFrameResource
BankFrameResource.getLong(String)
public java.lang.Integer getInteger(java.lang.String keyName)
BankFrameResource
getInteger
in interface BankFrameResource
BankFrameResource.getInteger(String)
public java.lang.Boolean getBoolean(java.lang.String keyName)
BankFrameResource
getBoolean
in interface BankFrameResource
BankFrameResource.getBoolean(String)
public java.lang.Double getDouble(java.lang.String keyName)
BankFrameResource
getDouble
in interface BankFrameResource
BankFrameResource.getDouble(String)
public int size()
BankFrameResource
size
in interface BankFrameResource
BankFrameResource.size()
public java.lang.String getDescription(java.lang.String key, java.util.Locale locale)
BankFrameResource
getDescription
in interface BankFrameResource
BankFrameResource.getDescription(String, Locale)
public java.lang.String getDescription(java.lang.String key)
BankFrameResource
getDescription
in interface BankFrameResource
BankFrameResource.getDescription(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |