|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.controller.PropertyResolver
oracle.ideri.util.BundlePropertyResolver
public class BundlePropertyResolver
A property resolver that lazily loads resources from a ResourceBundle. You can use this class in conjunction with Action
to defer loading of resources until the Action.getValue(String)
method is called.
IdeAction
, PropertyResolver
Constructor Summary | |
---|---|
BundlePropertyResolver(java.lang.String bundleClass, java.lang.ClassLoader bundleClassLoader, java.util.Map actionKeyToBundleKey) Constructs a ResourceBundlePropertyResolver. |
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String key) Get the value of the specified property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BundlePropertyResolver(java.lang.String bundleClass, java.lang.ClassLoader bundleClassLoader, java.util.Map actionKeyToBundleKey)
bundleClass
- the fully qualified class name of the resource bundle to load resources from. Must not be null or the empty string.bundleClassLoader
- the class loader to load resources from. If null, the current thread's context class loader will be used.actionKeyToBundleKey
- a map specifying which bundle key to use for a given action key.Method Detail |
---|
public java.lang.Object get(java.lang.String key)
This implementation lazily retrieves the value of the specified key from the associated resource bundle.
get
in class PropertyResolver
propertyName
- the name of a property. Will never be null.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |