Package org.alfresco.util
Class SortUtils
- java.lang.Object
-
- org.alfresco.util.SortUtils
-
public class SortUtils extends Object
Helper class to provide functionality related to sorting.- Since:
- 2.6
- Author:
- Tom Page
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collator
getStringComparator()
Get a string comparator that sorts strings according to the locale of the server, and which treats spaces as earlier than alphanumeric characters.
-
-
-
Method Detail
-
getStringComparator
public static Collator getStringComparator()
Get a string comparator that sorts strings according to the locale of the server, and which treats spaces as earlier than alphanumeric characters.- Returns:
- The comparator.
-
-