Package org.apache.juneau.internal
Class ResourceBundleUtils
java.lang.Object
org.apache.juneau.internal.ResourceBundleUtils
Class-related utility methods.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ResourceBundleempty()Returns an empty resource bundle.static ResourceBundlefindBundle(String baseName, Locale locale, ClassLoader loader) Same asResourceBundle.getBundle(String, Locale, ClassLoader)but never throws aMissingResourceException.
- 
Constructor Details- 
ResourceBundleUtilspublic ResourceBundleUtils()
 
- 
- 
Method Details- 
findBundleSame asResourceBundle.getBundle(String, Locale, ClassLoader)but never throws aMissingResourceException.- Parameters:
- baseName- The base name of the resource bundle, a fully qualified class name.
- locale- The locale for which a resource bundle is desired.
- loader- The class loader from which to load the resource bundle.
- Returns:
- The matching resource bundle, or null if it could not be found.
 
- 
emptyReturns an empty resource bundle.- Returns:
- An empty resource bundle.
 
 
-