com.isogen.i18nsupport.compare
Class IcuComparatorFactoryImpl

java.lang.Object
  extended bycom.isogen.i18nsupport.compare.IcuComparatorFactoryImpl
All Implemented Interfaces:
ComparatorFactory

public class IcuComparatorFactoryImpl
extends java.lang.Object
implements ComparatorFactory

Constructs ICU collators.


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