/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, ResourceBundle.Control control) { return getBundle(baseName, Locale.getDefault(), getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param targetLocale * the target locale of the resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, Locale targetLocale, ResourceBundle.Control control) { return getBundle(baseName, targetLocale, getLoader(), control); }
/** * Finds the named resource bundle for the default {@code Locale} and the caller's * {@code ClassLoader}. * * @param bundleName * the name of the {@code ResourceBundle}. * @return the requested {@code ResourceBundle}. * @throws MissingResourceException * if the {@code ResourceBundle} cannot be found. */ public static ResourceBundle getBundle(String bundleName) throws MissingResourceException { ClassLoader classLoader = VMStack.getCallingClassLoader(); if (classLoader == null) { classLoader = getLoader(); } return getBundle(bundleName, Locale.getDefault(), classLoader); }
/** * Finds the named {@code ResourceBundle} for the specified {@code Locale} and the caller * {@code ClassLoader}. * * @param bundleName * the name of the {@code ResourceBundle}. * @param locale * the {@code Locale}. * @return the requested resource bundle. * @throws MissingResourceException * if the resource bundle cannot be found. */ public static ResourceBundle getBundle(String bundleName, Locale locale) { ClassLoader classLoader = VMStack.getCallingClassLoader(); if (classLoader == null) { classLoader = getLoader(); } return getBundle(bundleName, locale, classLoader); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName the base name of a resource bundle * @param targetLocale the target locale of the resource bundle * @param control the control that control the access sequence * @return the named resource bundle * @since 1.6 */ public static ResourceBundle getBundle(String baseName, Locale targetLocale, ResourceBundle.Control control) { return getBundle(baseName, targetLocale, getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName the base name of a resource bundle * @param control the control that control the access sequence * @return the named resource bundle * @since 1.6 */ public static ResourceBundle getBundle(String baseName, ResourceBundle.Control control) { return getBundle(baseName, Locale.getDefault(), getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param targetLocale * the target locale of the resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, Locale targetLocale, ResourceBundle.Control control) { return getBundle(baseName, targetLocale, getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param targetLocale * the target locale of the resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, Locale targetLocale, ResourceBundle.Control control) { return getBundle(baseName, targetLocale, getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, ResourceBundle.Control control) { return getBundle(baseName, Locale.getDefault(), getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param targetLocale * the target locale of the resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, Locale targetLocale, ResourceBundle.Control control) { return getBundle(baseName, targetLocale, getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, ResourceBundle.Control control) { return getBundle(baseName, Locale.getDefault(), getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, ResourceBundle.Control control) { return getBundle(baseName, Locale.getDefault(), getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, ResourceBundle.Control control) { return getBundle(baseName, Locale.getDefault(), getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, ResourceBundle.Control control) { return getBundle(baseName, Locale.getDefault(), getLoader(), control); }
/** * Finds the named resource bundle for the specified base name and control. * * @param baseName * the base name of a resource bundle * @param control * the control that control the access sequence * @return the named resource bundle * * @since 1.6 */ public static ResourceBundle getBundle(String baseName, ResourceBundle.Control control) { return getBundle(baseName, Locale.getDefault(), getLoader(), control); }
/** * Finds the named {@code ResourceBundle} for the specified {@code Locale} and the caller * {@code ClassLoader}. * * @param bundleName the name of the {@code ResourceBundle}. * @param locale the {@code Locale}. * @return the requested resource bundle. * @throws MissingResourceException if the resource bundle cannot be found. */ public static ResourceBundle getBundle(String bundleName, Locale locale) { ClassLoader classLoader = ResourceBundle.class.getClassLoader(); if (classLoader == null) { classLoader = getLoader(); } return getBundle(bundleName, locale, classLoader); }
/** * Finds the named resource bundle for the default {@code Locale} and the caller's * {@code ClassLoader}. * * @param bundleName the name of the {@code ResourceBundle}. * @return the requested {@code ResourceBundle}. * @throws MissingResourceException if the {@code ResourceBundle} cannot be found. */ public static ResourceBundle getBundle(String bundleName) throws MissingResourceException { ClassLoader classLoader = ResourceBundle.class.getClassLoader(); if (classLoader == null) { classLoader = getLoader(); } return getBundle(bundleName, Locale.getDefault(), classLoader); }
/** * Finds the named resource bundle for the default {@code Locale} and the caller's * {@code ClassLoader}. * * @param bundleName * the name of the {@code ResourceBundle}. * @return the requested {@code ResourceBundle}. * @throws MissingResourceException * if the {@code ResourceBundle} cannot be found. */ public static ResourceBundle getBundle(String bundleName) throws MissingResourceException { ClassLoader classLoader = VMStack.getCallingClassLoader(); if (classLoader == null) { classLoader = getLoader(); } return getBundle(bundleName, Locale.getDefault(), classLoader); }
/** * Finds the named resource bundle for the default {@code Locale} and the caller's * {@code ClassLoader}. * * @param bundleName * the name of the {@code ResourceBundle}. * @return the requested {@code ResourceBundle}. * @throws MissingResourceException * if the {@code ResourceBundle} cannot be found. */ public static ResourceBundle getBundle(String bundleName) throws MissingResourceException { ClassLoader classLoader = VMStack.getCallingClassLoader(); if (classLoader == null) { classLoader = getLoader(); } return getBundle(bundleName, Locale.getDefault(), classLoader); }
/** * Finds the named resource bundle for the default {@code Locale} and the caller's * {@code ClassLoader}. * * @param bundleName * the name of the {@code ResourceBundle}. * @return the requested {@code ResourceBundle}. * @throws MissingResourceException * if the {@code ResourceBundle} cannot be found. */ public static ResourceBundle getBundle(String bundleName) throws MissingResourceException { ClassLoader classLoader = VMStack.getCallingClassLoader(); if (classLoader == null) { classLoader = getLoader(); } return getBundle(bundleName, Locale.getDefault(), classLoader); }