|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.ResourceBundle
org.apache.sling.i18n.impl.RootResourceBundle
public class RootResourceBundle
The RootResourceBundle is an extremely simple resource bundle
which is used as the root resource bundle for the resource bundle hierarchies
provided by the JcrResourceBundleProvider. It has the following
functionality:
getLocale() returns a pseudo locale with empty values for
all fields (language, country, and variant)handleGetObject(String) always returns the provided
key as the valuegetKeys() method always returns an empty enumeration
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.ResourceBundle |
|---|
java.util.ResourceBundle.Control |
| Field Summary |
|---|
| Fields inherited from class java.util.ResourceBundle |
|---|
parent |
| Constructor Summary | |
|---|---|
RootResourceBundle()
|
|
| Method Summary | |
|---|---|
java.util.Enumeration<java.lang.String> |
getKeys()
Always returns an empty enumeration. |
java.util.Locale |
getLocale()
Returns a Locale with empty language, country, and variant. |
protected java.lang.Object |
handleGetObject(java.lang.String key)
Always returns the key parameter as its value. |
| Methods inherited from class java.util.ResourceBundle |
|---|
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, handleKeySet, keySet, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RootResourceBundle()
| Method Detail |
|---|
public java.util.Locale getLocale()
Locale with empty language, country, and variant.
getLocale in class java.util.ResourceBundleprotected java.lang.Object handleGetObject(java.lang.String key)
key parameter as its value.
handleGetObject in class java.util.ResourceBundlepublic java.util.Enumeration<java.lang.String> getKeys()
getKeys in class java.util.ResourceBundle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||