|
Griffon 1.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.ResourceBundle
org.codehaus.griffon.runtime.util.CompositeResourceBundle
public class CompositeResourceBundle extends ResourceBundle
Nested Class Summary | |
---|---|
private static class |
CompositeResourceBundle.IteratorAsEnumeration
|
Field Summary | |
---|---|
private static Logger |
LOG
|
private ResourceBundle[] |
bundles
|
private List |
keys
|
Constructor Summary | |
CompositeResourceBundle(List bundles)
|
|
CompositeResourceBundle(ResourceBundle[] bundles)
|
Method Summary | |
---|---|
static ResourceBundle
|
create(String basename)
|
static ResourceBundle
|
create(String basename, Locale locale)
|
Enumeration
|
getKeys()
|
protected Object
|
handleGetObject(String key)
|
private static Collection
|
loadBundleFromProperties(String fileName)
|
private static Collection
|
loadBundleFromScript(String fileName)
|
private static ResourceBundle[]
|
toResourceBundleArray(List bundles)
|
Methods inherited from class ResourceBundle | |
---|---|
getObject, keySet, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getString, clearCache, clearCache, getStringArray, getLocale, getKeys, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private static final Logger LOG
private final ResourceBundle[] bundles
private final List keys
Constructor Detail |
---|
public CompositeResourceBundle(List bundles)
public CompositeResourceBundle(ResourceBundle[] bundles)
Method Detail |
---|
public static ResourceBundle create(String basename)
public static ResourceBundle create(String basename, Locale locale)
@Override public Enumeration getKeys()
protected Object handleGetObject(String key)
private static Collection loadBundleFromProperties(String fileName)
private static Collection loadBundleFromScript(String fileName)
private static ResourceBundle[] toResourceBundleArray(List bundles)
Groovy Documentation