Package ca.phon.util

Class CollatorFactory

java.lang.Object
ca.phon.util.CollatorFactory

public class CollatorFactory extends Object
Provides static methods for getting collators based on locale settings.
  • Constructor Details

    • CollatorFactory

      public CollatorFactory()
  • Method Details

    • defaultCollator

      public static Collator defaultCollator()
      Create a new collator for the default locale.
    • collator

      public static Collator collator(Locale locale)
      Create a new collator with the given locale.
    • collator

      public static Collator collator(Locale locale, int strength)
      Create a new collator with the given locale and strength.