public class ResourceBundleAdapter extends ResourceBundleWrapperRT
ResourceBundleAdapter provides a run-time implementation of a ResourceBundleWrapper for java resource bundle.| Modifier and Type | Class and Description | 
|---|---|
protected static class  | 
ResourceBundleAdapter.AdapterDefaultSearchContext  | 
ResourceBundleWrapperRT.DefaultSearchContext, ResourceBundleWrapperRT.SearchTypeResourceBundleWrapper.KeyInfo_parent| Constructor and Description | 
|---|
ResourceBundleAdapter(java.util.ResourceBundle resourceBundle)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected java.util.Set<java.lang.String> | 
findKeys(java.lang.String searchTypeMeth, java.lang.Object searchTerm, boolean ignoreCase)
This is the single pinch-point method that most override classes can extend to support their own policies and enhancements to the find operations. 
 | 
java.util.Map<java.lang.String,java.lang.String> | 
getKeyValueMap()
Gets the map of key-values for this bundle. 
 | 
java.util.Map<java.lang.String,java.lang.String> | 
getMetadata(java.lang.String key)
Gets the translated text (value) identified by  
key | 
java.lang.String | 
getString(java.lang.String key)
Gets the translated text (value) identified by  
key | 
java.util.Set<java.lang.String> | 
keySet()
Returns a set view of the keys contained in this resource bundle. 
 | 
protected void | 
parse(java.net.URL url)  | 
addEntry, addEntry, addEntryNoDialog, addResourceBundleListener, deleteEntry, findKeys, findKeysByMetaData, findKeysByMetaData, findKeysByText, findKeysByText, findKeysLikeKey, findKeysLikeKey, findKeysLikeMetaData, findKeysLikeText, findKeysLikeText, getBundleId, getChainedKeyValueMap, getKeyGenerator, getMetadataFromParentChain, getParent, getParentChain, getParentList, refreshBundleIfNeeded, removeResourceBundleListener, setBundleId, setKeyGenerator, setParentList, setURL, toString, updateEntry, updateEntryNoDialogpublic ResourceBundleAdapter(java.util.ResourceBundle resourceBundle)
protected void parse(java.net.URL url)
parse in class ResourceBundleWrapperRTpublic java.util.Map<java.lang.String,java.lang.String> getKeyValueMap()
ResourceBundleWrapperRTgetKeyValueMap in class ResourceBundleWrapperRTpublic java.lang.String getString(java.lang.String key)
ResourceBundleWrapperkeygetString in interface ResourceBundleWrappergetString in class ResourceBundleWrapperRTkey - The key in the resource bundle
protected java.util.Set<java.lang.String> findKeys(java.lang.String searchTypeMeth,
                                       java.lang.Object searchTerm,
                                       boolean ignoreCase)
ResourceBundleWrapperRTfindKeys in class ResourceBundleWrapperRTsearchTypeMeth - type of search to performsearchTerm - term being searched forignoreCase - whether to _ignoreCase of searchTerm for matchespublic java.util.Set<java.lang.String> keySet()
ResourceBundleWrapperIterator will throw an UnsupportedOperationException.public java.util.Map<java.lang.String,java.lang.String> getMetadata(java.lang.String key)
ResourceBundleWrapperkeykey - The key in the resource bundle