org.geotools.swing.locale
Class PropertiesFileInfo

Object
  extended by 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
PropertiesFileInfo(String baseName, List<Locale> locales)
          Creates a new instance.
 
Method Summary
 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


Copyright © 1996-2014 Geotools. All Rights Reserved.