Class LocaleEnum

java.lang.Object
io.sf.jclf.util.locale.LocaleEnum

public class LocaleEnum extends Object
Locale-aware Enum.

This is an old class, there are better solutions now.

  • Constructor Details

    • LocaleEnum

      public LocaleEnum(String baseName, String ext)
  • Method Details

    • 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.