|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcorelib.runtime.internationalisation.ResourceBundle
public class ResourceBundle
This class load a resource bundle file (only at with Ellipse format, and not standard format). This type of file is writen in XML language and permits internationalization mechanisms.
| Method Summary | |
|---|---|
void |
computeLocaleInformations(corelib.runtime.internationalisation.ResourceBundle.LocaleInfos infos)
|
java.util.Locale |
getLocale()
|
java.lang.String |
getResource(java.lang.String key)
Returns resource string associated to the specified key. |
java.lang.String |
getResource(java.lang.String key,
java.util.Locale locale)
Returns resource string associated to the specified key and locale. |
java.lang.String |
getResourcesFilename()
|
void |
setLocale(java.util.Locale locale)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getResourcesFilename()
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
throws ResourceBundleException
ResourceBundleException
public java.lang.String getResource(java.lang.String key)
throws ResourceBundleException
key - The key of the resource.
ResourceBundleException - Thrown if the searched resource not exists.
public java.lang.String getResource(java.lang.String key,
java.util.Locale locale)
throws ResourceBundleException
key - The key of the resource.locale - The considered locale.
ResourceBundleException - Thrown if the searched resource not exists.
public void computeLocaleInformations(corelib.runtime.internationalisation.ResourceBundle.LocaleInfos infos)
throws ResourceBundleException
ResourceBundleException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||