/** * Gets the bundle. * * @param locale the locale * @return the resource bundle */ public static ResourceBundle getBundle(Locale locale) { return BundleFactory.getBundle(MiscCoreBundle.class.getName(), locale); }
/** * Gets a resource bundle using the specified base name and locale, and the caller's class loader.<br> * Replacement for {@link ResourceBundle#getBundle(java.lang.String, java.util.Locale) }. * * @param baseName the base name of the resource bundle, a fully qualified class name * @param locale the locale for which a resource bundle is desired * * @return a resource bundle for the given base name and locale */ static ResourceBundle getBundle(String baseName, Locale locale) { return getInstance().findBundle(baseName, locale); }
@Override public void dataChanged(ModificationEvent ev) { BundleFactory.getInstance().clearCache(); // the PdoCache in StoredBundlePersistenceImpl is a non-preloading cache, i.e. // only the changed or added bundles are effectively reloaded from the database. } });
/** * Gets the bundle. * * @return the resource bundle */ public static ResourceBundle getBundle() { return BundleFactory.getBundle(PrintSwingPrintBundle.class.getName()); }
/** * Gets a resource bundle using the specified base name, locale, and class loader.<br> * Replacement for {@link ResourceBundle#getBundle(java.lang.String, java.util.Locale, java.lang.ClassLoader) }. * * @param baseName the base name of the resource bundle, a fully qualified class name * @param locale the locale for which a resource bundle is desired * @param loader the class loader from which to load the resource bundle * * @return a resource bundle for the given base name and locale */ static ResourceBundle getBundle(String baseName, Locale locale, ClassLoader loader) { return getInstance().findBundle(baseName, locale, loader); }
/** * Gets the bundle. * * @return the resource bundle */ public static ResourceBundle getBundle() { return BundleFactory.getBundle(SwingSwingBundle.class.getName(), LocaleProvider.getInstance().getLocale()); }
/** * Gets a resource bundle using the specified base name, the default locale, and the caller's class loader.<br> * Replacement for {@link ResourceBundle#getBundle(java.lang.String)}. * * @param baseName the base name of the resource bundle, a fully qualified class name * * @return a resource bundle for the given base name and the default locale */ static ResourceBundle getBundle(String baseName) { return getInstance().findBundle(baseName, Locale.getDefault()); }
/** * Gets the bundle. * * @return the resource bundle */ public static ResourceBundle getBundle() { return BundleFactory.getBundle(ValidationBundle.class.getName(), LocaleProvider.getInstance().getLocale()); }
/** * Gets the bundle. * * @return the resource bundle */ public static ResourceBundle getBundle() { return BundleFactory.getBundle(AppCoreBundle.class.getName(), LocaleProvider.getInstance().getLocale()); }
/** * Gets the bundle. * * @return the resource bundle */ public static ResourceBundle getBundle() { return BundleFactory.getBundle(CommonCommonBundle.class.getName(), LocaleProvider.getInstance().getLocale()); }
/** * Gets the bundle. * * @return the resource bundle */ public static ResourceBundle getBundle() { return BundleFactory.getBundle(FxFxBundle.class.getName(), LocaleProvider.getInstance().getLocale()); }
resources = BundleFactory.getBundle(resourcesStr, LocaleProvider.getInstance().getLocale());