com.ibm.portal.model
Interface LocalizedContextHome.ComparatorFactory

Enclosing interface:
LocalizedContextHome

public static interface LocalizedContextHome.ComparatorFactory

Factory to create a comparator per locale

Since:
8.0

Method Summary
 java.util.Comparator<? super java.lang.String> getComparator(java.util.Locale aLocale)
          Returns the comparator per locale
 IterableListModel<java.util.Locale> getLocales()
          Returns a list model with all locales supported by this object
 

Method Detail

getComparator

java.util.Comparator<? super java.lang.String> getComparator(java.util.Locale aLocale)
Returns the comparator per locale

Parameters:
aLocale - the locale, not null
Returns:
the comparator for the locale

getLocales

IterableListModel<java.util.Locale> getLocales()
Returns a list model with all locales supported by this object

Returns:
the list model
Since:
8.5