Class PropertiesFileInfo


  • public class PropertiesFileInfo
    extends Object
    Records the base name of a properties file and the Locales that it supports.
    Since:
    8.0
    Author:
    Michael Bedward
    • Constructor Detail

      • PropertiesFileInfo

        public PropertiesFileInfo​(String baseName,
                                  List<Locale> locales)
        Creates a new instance.
        Parameters:
        baseName - file base name
        locales - supported locales
    • Method Detail

      • getBaseName

        public String getBaseName()
        Gets the file base name.
        Returns:
        file base name
      • getLocales

        public List<Locale> getLocales()
        Gets an unmodifiable view of the list of supported locales. This will always contain at least Locale.ROOT.
        Returns:
        list of supported locales