|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.ResourceBundle com.webobjects.eoapplication.client.EOClientResourceBundle
EOClientResourceBundles are registered with EOUserInterfaceParameters to localize icons and strings. EODefaultResourceBundle communiate with the Java Client server side to retrieve URLs for all available icons (gif, jpg, jpeg, png) and string tables (plist files in Unicode) and loads the resources on demand. All string tables are merged together, so if you place multiple string tables in your frameworks and applications, all strings from all string tables will be available on the client.
User preferred language and platform information is used to find the appropriate resources/strings
for the client if multiple choices are available. You create platform and language variants of
resources in Xcode (which basically means that you create copies of the resources in
Also, if an icon is available with the same name in multiple bundles, the version in the main bundle (the WebObjects application (woa) itsself) is preferred over a version in the frameworks. So by placing an icon "ActionIconInspect.gif" in your WebObjects application, you can "override" the default inspect icon provided by the WebObjects frameworks.
Field Summary |
Fields inherited from class java.util.ResourceBundle |
parent |
Constructor Summary | |
EOClientResourceBundle()
Creates a new resource bundle. |
Method Summary | |
Enumeration |
getKeys()
Returns an enumeration of all available keys registered in the resource bundle. |
protected Object |
handleGetObject(String key)
Returns the localized resource (a string or an icon) which is registered with the key key in the resource bundle. |
Methods inherited from class java.util.ResourceBundle |
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EOClientResourceBundle()
Method Detail |
public Enumeration getKeys()
protected Object handleGetObject(String key) throws MissingResourceException
key
in the resource bundle. Throws a
MissingResourceException if the resource is not found.
key
- the key to look up
MissingResourceException
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |