test_class.file: plugin/print/print/src/test/java/org/geomajas/plugin/printing/component/ComponentUtilTest.java
test_class.identifier: ComponentUtilTest
test_case.body: @Test
  	public void testGetResourceBundleEn() throws Exception {
  		String locale = "en";
  		ResourceBundle resourceBundle = ComponentUtil.getCurrentResourceBundle(locale);
  		Assert.assertEquals(locale.toLowerCase(), resourceBundle.getLocale().toString().toLowerCase());
  	}
test_case.class_method_signature: ComponentUtilTest.testGetResourceBundleEn()
test_case.full_signature: @Test public void testGetResourceBundleEn()
test_case.identifier: testGetResourceBundleEn
test_case.invocations: getCurrentResourceBundle assertEquals toLowerCase toLowerCase toString getLocale
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetResourceBundleEn()
focal_class.declarator: BUNDLE_NAME = "org/geomajas/plugin/printing/PrintingMessages"
focal_class.modifier: private static final
focal_class.original_string: private static final String BUNDLE_NAME = "org/geomajas/plugin/printing/PrintingMessages";
focal_class.type: String
focal_class.var_name: BUNDLE_NAME
focal_class.file: plugin/print/print/src/main/java/org/geomajas/plugin/printing/component/ComponentUtil.java
focal_class.identifier: ComponentUtil
focal_class.class_method_signature: ComponentUtil.ComponentUtil()
focal_class.full_signature: private  ComponentUtil()
focal_class.identifier: ComponentUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ComponentUtil()
focal_class.class_method_signature: ComponentUtil.getCurrentResourceBundle(String locale)
focal_class.full_signature: public static ResourceBundle getCurrentResourceBundle(String locale)
focal_class.identifier: getCurrentResourceBundle
focal_class.modifiers: public static
focal_class.parameters: (String locale)
focal_class.return: ResourceBundle
focal_class.signature: ResourceBundle getCurrentResourceBundle(String locale)
focal_class.class_method_signature: ComponentUtil.getCurrentResourceBundle(Locale locale)
focal_class.full_signature: public static ResourceBundle getCurrentResourceBundle(Locale locale)
focal_class.identifier: getCurrentResourceBundle
focal_class.modifiers: public static
focal_class.parameters: (Locale locale)
focal_class.return: ResourceBundle
focal_class.signature: ResourceBundle getCurrentResourceBundle(Locale locale)
focal_method.body: public static ResourceBundle getCurrentResourceBundle(String locale) {
  		try {
  			if (null != locale && !locale.isEmpty()) {
  				return getCurrentResourceBundle(LocaleUtils.toLocale(locale));
  			}
  		} catch (IllegalArgumentException ex) {
  			// do nothing
  		}
  		return getCurrentResourceBundle((Locale) null);
  	}
focal_method.class_method_signature: ComponentUtil.getCurrentResourceBundle(String locale)
focal_method.full_signature: public static ResourceBundle getCurrentResourceBundle(String locale)
focal_method.identifier: getCurrentResourceBundle
focal_method.invocations: isEmpty getCurrentResourceBundle toLocale getCurrentResourceBundle
focal_method.modifiers: public static
focal_method.parameters: (String locale)
focal_method.return: ResourceBundle
focal_method.signature: ResourceBundle getCurrentResourceBundle(String locale)