info.informatica.util.locale
Class LocaleEnum
java.lang.Object
info.informatica.util.locale.LocaleEnum
public class LocaleEnum
- extends Object
Locale-aware Enum.
This is an old class, there are better solutions now.
- Author:
- amengual at informatica dot info
LocaleEnum
public LocaleEnum(String baseName,
String ext)
getBestEnum
public String[] getBestEnum()
- Gets the enum for the default locale.
- Returns:
- the enum for the default locale.
getBestEnum
public String[] getBestEnum(Locale locale)
getEnum
public String[] getEnum(Locale locale)
getEnum
public String[] getEnum()
- Gets the default enum, which may or may not be the enum for the default
locale.
- Returns:
- the default enum.