Class FcI18nBundleLocator

java.lang.Object
de.xima.fc.i18n.FcI18nBundleLocator
All Implemented Interfaces:
IResourceBundleLocator

@Immutable public final class FcI18nBundleLocator extends Object implements IResourceBundleLocator
A Hibernate bean validation API resource bundle locator for the i18n.fc resource bundle.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Field Details

    • INSTANCE

      public static final IResourceBundleLocator INSTANCE
      An immutable instance of this bundle locator.
  • Constructor Details

    • FcI18nBundleLocator

      public FcI18nBundleLocator()
  • Method Details

    • getResourceBundle

      public ResourceBundle getResourceBundle(Locale locale)
      Description copied from interface: IResourceBundleLocator
      Returns a resource bundle for the given locale.
      Specified by:
      getResourceBundle in interface IResourceBundleLocator
      Parameters:
      locale - A locale, for which a resource bundle shall be retrieved. Must not be null.
      Returns:
      A resource bundle for the given locale. May be null, if no such bundle exists.