nsICollation
| IID: | b0132cc0-3786-4557-9874-910d7def5f93 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Constants
| PRInt32 | kCollationStrengthDefault | = 0 |
| PRInt32 | kCollationCaseInsensitiveAscii | = 1 |
| PRInt32 | kCollationAccentInsenstive | = 2 |
| PRInt32 | kCollationCaseSensitive | = 0 |
| PRInt32 | kCollationCaseInSensitive | = 3 |
Methods
[noscript] void allocateRawSortKey ( PRInt32 strength , AString stringIn , out arrayof PRUint8 key , out PRUint32 outLen )
[noscript] PRInt32 compareRawSortKey ( arrayof PRUint8 key1 , PRUint32 len1 , arrayof PRUint8 key2 , PRUint32 len2 )
PRInt32 compareString ( PRInt32 strength , AString string1 , AString string2 )
void initialize ( nsILocale locale )
void allocateRawSortKey ( PRInt32 strength , AString stringIn , out arrayof PRUint8 key , out PRUint32 outLen )
- Arguments:
- strength
- stringIn
- key
- outLen
PRInt32 compareRawSortKey ( arrayof PRUint8 key1 , PRUint32 len1 , arrayof PRUint8 key2 , PRUint32 len2 )
- Arguments:
- key1
- len1
- key2
- len2
PRInt32 compareString ( PRInt32 strength , AString string1 , AString string2 )
- Arguments:
- strength
- string1
- string2
void initialize ( nsILocale locale )
- Arguments:
- locale
References
This interface is returned from the following methods:
nsICollationFactory.CreateCollation
Reference documentation is generated from Mozilla's source.
