public class StringComparator.LocaleRules
extends java.lang.Object
Constructor and Description |
---|
LocaleRules()
Default constructor without parameters.
|
LocaleRules(boolean b,
java.text.Collator collator)
Default constructor with two parameters.
|
Modifier and Type | Method and Description |
---|---|
java.text.Collator |
getCollator()
Gets the value of the inner attribute _collator.
|
boolean |
isUseLocaleRules()
Gets the value of the inner attribute useLocaleRules.
|
void |
setCollator(java.text.Collator collator)
Sets a value to the inner attribute _collator.
|
void |
setUseLocaleRules(boolean useLocaleRules)
Sets a value to the inner attribute useLocaleRules.
|
public LocaleRules()
public LocaleRules(boolean b, java.text.Collator collator)
b
- Use locale rulescollator
- A reference to an object configurated for locale-sensitive String comparisonpublic java.text.Collator getCollator()
public void setCollator(java.text.Collator collator)
collator
- A reference to an object configurated for locale-sensitive String comparisonpublic boolean isUseLocaleRules()
public void setUseLocaleRules(boolean useLocaleRules)
useLocaleRules
- The useLocaleRules to set.