java.lang.Object
java.util.ResourceBundle
de.grogra.util.I18NBundle
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
-
Field Summary
Fields inherited from class java.util.ResourceBundle
parent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
convertResource
(Object resource) static I18NBundle
getInstance
(Class cls) static I18NBundle
getInstance
(String bundle, String baseName, Class cls) getKeys()
getStringOrNull
(String key) protected Object
handleGetObject
(String key) void
initClassLoader
(ClassLoader loader) keyToDescribed
(String key) static void
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
-
Constructor Details
-
I18NBundle
-
-
Method Details
-
addResourceConverter
-
removeResourceConverter
-
getInstance
-
getInstance
-
initClassLoader
-
getClassLoader
-
getBaseName
-
handleGetObject
- Specified by:
handleGetObject
in classResourceBundle
-
convertResource
-
getKeys
- Specified by:
getKeys
in classResourceBundle
-
getStringOrNull
-
getString
-
getObject
-
msg
- Throws:
MissingResourceException
-
msg
- Throws:
MissingResourceException
-
msg
- Throws:
MissingResourceException
-
msg
public String msg(String key, Object arg1, Object arg2, Object arg3) throws MissingResourceException - Throws:
MissingResourceException
-
msg
public String msg(String key, Object arg1, Object arg2, Object arg3, Object arg4) throws MissingResourceException - Throws:
MissingResourceException
-
msg
public String msg(String key, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) throws MissingResourceException - Throws:
MissingResourceException
-
msg
- Throws:
MissingResourceException
-
keyToDescribed
-