public class CellComparatorHelper extends Object
Constructor and Description |
---|
CellComparatorHelper() |
Modifier and Type | Method and Description |
---|---|
static Comparator |
getAppropriateComparatorForPropertyClass(Class propClass)
This method returns a comparator to be used for comparing the contents of cells, that is
the compareTo method will be invoked w/ displaytag Cell objects
|
static Comparator |
getAppropriateValueComparatorForPropertyClass(Class propClass)
This method returns a comparator to be used for comparing propertyValues (in String form)
|
static String |
getSanitizedStaticValue(org.displaytag.model.Cell cell)
This method is intended to be used in conjunction with displaytag.
|
static String |
getSanitizedStaticValue(String staticValue)
Remove all end-of-line and tab characters (\r, \n, \t).
|
public CellComparatorHelper()
public static String getSanitizedStaticValue(org.displaytag.model.Cell cell)
cell
- getSanitizedStaticValue(String)
public static String getSanitizedStaticValue(String staticValue)
staticValue
- public static Comparator getAppropriateComparatorForPropertyClass(Class propClass)
propClass
- public static Comparator getAppropriateValueComparatorForPropertyClass(Class propClass)
propClass
- Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.