Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.isogen.i18nsupport.compare
Interface ComparatorFactory

All Known Implementing Classes:
  IcuComparatorFactoryImpl

public interface ComparatorFactory

Factory class for creating new Comparator objects. Comparators are a generic abstraction of the Java Collator API that allows different comparator implementations, such as the ICU4J Collator classes.

Method Summary
`java.util.Comparator` | `getComparatorForLocale(java.util.Locale locale)` Constructs a Comparator for the specified locale.

Method Detail

### getComparatorForLocale

    public java.util.Comparator getComparatorForLocale(java.util.Locale locale)
                                                throws ComparatorException

  Constructs a Comparator for the specified locale.

  Parameters:
    `locale` - The Locale for which a Comparator is desired.
  Returns:
    The Comparator for the Locale.
  Throws:
    `ComparatorException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD