com.aspose.cells.AbstractGlobalizationSettings.html Maven / Gradle / Ivy
AbstractGlobalizationSettings
com.aspose.cells
Class AbstractGlobalizationSettings
java.lang.Object
com.aspose.cells.AbstractGlobalizationSettings
- Direct Known Subclasses:
- ChartGlobalizationSettings, GlobalizationSettings
public abstract class AbstractGlobalizationSettings
- extends java.lang.Object
Method Summary | ||
---|---|---|
int | compare(java.lang.String v1, java.lang.String v2, boolean ignoreCase) | |
Compares two string values according to certain collation rules. | ||
System.IComparable | getCollationKey(java.lang.String v, boolean ignoreCase) | |
Transforms the string into a comparable object according to certain collation rules. |
Method Detail |
---|
compare | |
public int compare(java.lang.String v1, java.lang.String v2, boolean ignoreCase) |
Compares two string values according to certain collation rules. - Parameters:
v1
- the first stringv2
- the second stringignoreCase
- whether ignore case when comparing values
- Returns:
- Integer that indicates the lexical relationship between the two comparands
getCollationKey | |
public System.IComparable getCollationKey(java.lang.String v, boolean ignoreCase) |
Transforms the string into a comparable object according to certain collation rules. - Parameters:
v
- String value needs to be compared with others.ignoreCase
- whether ignore case when comparing values
- Returns:
- Object can be used to compare or sort string values
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.