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 Summary

      Constructors 
      Constructor Description
      PropertiesFileInfo​(String baseName, List<Locale> locales)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getBaseName()
      Gets the file base name.
      List<Locale> getLocales()
      Gets an unmodifiable view of the list of supported locales.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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