|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.services.resource.NoReloadBaseBankFrameResource
public abstract class NoReloadBaseBankFrameResource
This class caches a java.util.ResourceBundle instance. It does not uses the
value of the resource.cache.refreshInterval
setting contained
in the resource file.
Constructor Summary | |
---|---|
NoReloadBaseBankFrameResource()
Default Constructor |
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. |
abstract URL |
getUrl()
This method gets the URL for this resource. |
Enumeration |
keys()
The method gets all the keys in this cache |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoReloadBaseBankFrameResource()
Method Detail |
---|
public abstract URL getUrl()
public Object get(String key)
BankFrameResource
get
in interface BankFrameResource
key
- The key for the value to get
BankFrameResource.get(String)
public String getString(String key)
BankFrameResource
getString
in interface BankFrameResource
key
- The key for the value to get
BankFrameResource.getString(String)
public BankFrameResource getSubset(String prefix)
getSubset
in interface BankFrameResource
prefix
- the prefix that the subset starts with
BankFrameResource
instancepublic Enumeration keys()
keys
in interface BankFrameResource
public Object put(String key, Object value)
BankFrameResource
put
in interface BankFrameResource
key
- the name of the valuevalue
- the valueBankFrameResource.put(String, Object)
public Object remove(String key)
BankFrameResource
remove
in interface BankFrameResource
key
- the name of the key to removeBankFrameResource.remove(String)
public void remove(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(String prefix)
BankFrameResource
removeSubset
in interface BankFrameResource
prefix
- the prefix that the subset starts withBankFrameResource.removeSubset(String)
public Long getLong(String keyName)
BankFrameResource
getLong
in interface BankFrameResource
keyName
- The key to be read from the property file
BankFrameResource.getLong(String)
public Integer getInteger(String keyName)
BankFrameResource
getInteger
in interface BankFrameResource
keyName
- The key to be read from the property file
BankFrameResource.getInteger(String)
public Boolean getBoolean(String keyName)
BankFrameResource
getBoolean
in interface BankFrameResource
keyName
- The key to be read from the property file
BankFrameResource.getBoolean(String)
public Double getDouble(String keyName)
BankFrameResource
getDouble
in interface BankFrameResource
keyName
- The key to be read from the property file
BankFrameResource.getDouble(String)
public int size()
BankFrameResource
size
in interface BankFrameResource
BankFrameResource.size()
public String getDescription(String key, Locale locale)
BankFrameResource
getDescription
in interface BankFrameResource
BankFrameResource.getDescription(String,
Locale)
public String getDescription(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 |