|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.resourcebundle.ResourceBundleWrapperRT oracle.javatools.resourcebundle.ResourceBundleAdapter
public class ResourceBundleAdapter
The ResourceBundleAdapter
provides a run-time
implementation of a ResourceBundleWrapper
for java resource bundle.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.javatools.resourcebundle.ResourceBundleWrapperRT |
---|
ResourceBundleWrapperRT.SearchType |
Nested classes/interfaces inherited from interface oracle.javatools.resourcebundle.ResourceBundleWrapper |
---|
ResourceBundleWrapper.KeyInfo |
Field Summary |
---|
Fields inherited from class oracle.javatools.resourcebundle.ResourceBundleWrapperRT |
---|
_parent |
Constructor Summary | |
---|---|
ResourceBundleAdapter(java.util.ResourceBundle resourceBundle)
|
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
findKeysByMetaData(java.util.Map<java.lang.String,java.lang.String> metadata)
Gets a Set of keys which contain the specified metadata. |
java.util.Set<java.lang.String> |
findKeysByText(java.lang.String text)
Finds the Set of keys containing an exact match for text |
java.util.Set<java.lang.String> |
findKeysLikeKey(java.lang.String key)
Finds the Set of keys identifying entries whose key
contains the substring key . |
java.util.Set<java.lang.String> |
findKeysLikeText(java.lang.String text)
Finds the Set of keys identifying entries whose translated text
contains the substring text . |
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)
|
Methods inherited from class oracle.javatools.resourcebundle.ResourceBundleWrapperRT |
---|
addEntry, addEntry, addEntryNoDialog, addResourceBundleListener, deleteEntry, findKeys, getBundleId, getChainedKeyValueMap, getKeyGenerator, getMetadataFromParentChain, getParent, getParentChain, getParentList, refreshBundleIfNeeded, removeResourceBundleListener, setBundleId, setKeyGenerator, setParentList, setURL, toString, updateEntry, updateEntryNoDialog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceBundleAdapter(java.util.ResourceBundle resourceBundle)
Method Detail |
---|
protected void parse(java.net.URL url)
parse
in class ResourceBundleWrapperRT
public java.util.Map<java.lang.String,java.lang.String> getKeyValueMap()
ResourceBundleWrapperRT
getKeyValueMap
in class ResourceBundleWrapperRT
public java.lang.String getString(java.lang.String key)
ResourceBundleWrapper
key
getString
in interface ResourceBundleWrapper
getString
in class ResourceBundleWrapperRT
key
- The key in the resource bundle
public java.util.Set<java.lang.String> findKeysLikeKey(java.lang.String key)
ResourceBundleWrapper
Set
of keys identifying entries whose key
contains the substring key
. No wildcards are expected or
allowed.
key
- The substring key to match
Set
of keys containing a match. If no keys match,
then an empty Set
is returned.public java.util.Set<java.lang.String> findKeysByText(java.lang.String text)
ResourceBundleWrapper
Set
of keys containing an exact match for text
text
- The exact text to match
Set
of keys containing a match. If no keys match,
then an empty Set
is returnedpublic java.util.Set<java.lang.String> findKeysLikeText(java.lang.String text)
ResourceBundleWrapper
Set
of keys identifying entries whose translated text
contains the substring text
. No wildcards are expected or
allowed.
text
- The substring text to match
Set
of keys containing a match. If no keys match,
then an empty Set
is returned.public java.util.Set<java.lang.String> findKeysByMetaData(java.util.Map<java.lang.String,java.lang.String> metadata)
ResourceBundleWrapper
Key | Value | Result |
Key | Value | Result |
metadata
- The metadata search criteria.
Set
is returned.public java.util.Set<java.lang.String> keySet()
ResourceBundleWrapper
Iterator
will throw an UnsupportedOperationException
.
public java.util.Map<java.lang.String,java.lang.String> getMetadata(java.lang.String key)
ResourceBundleWrapper
key
key
- The key in the resource bundle
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |