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
Class IcuComparatorFactoryImpl

    java.lang.Object
      com.isogen.i18nsupport.compare.IcuComparatorFactoryImpl

All Implemented Interfaces:
  ComparatorFactory

public class IcuComparatorFactoryImpl
extends java.lang.Object
implements ComparatorFactory

Constructs ICU collators. These collators are more complete and accurate than the built-in Java collators. At the moment this factory does not support the use of local collation rules. However, the whole point of using the ICU collators is that you shouldn't need any local collation rules.

Constructor Summary
`IcuComparatorFactoryImpl()`

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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### IcuComparatorFactoryImpl

    public IcuComparatorFactoryImpl()

Method Detail

### getComparatorForLocale

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

  Description copied from interface: `ComparatorFactory`
  Constructs a Comparator for the specified locale.

  Specified by:
    `getComparatorForLocale` in interface `ComparatorFactory`
  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