Methods' Details |
getConversions
- Description
- Method to search dictionaries for the conversion candidates.
- Parameter aText
- Text string to be converted.
- Parameter nStartPos
- The start position in aText for the conversion
- Parameter nLength
- The length of the partion in aText for the conversion
- Parameter aLocal
- Locale the conversion is referring to.
- Parameter nTextConversionType
- One of TextConversionType values.
- Parameter nTextConversionOptions
- Combination of TextConversionOption values.
- Returns
- TextConversionResult
- Throws
- NoSupportException
when nConversionDictionaryType is not known by the implementation,
or when the locale is not supported.
|
|
getConversion
- Description
- Method to search dictionaries for the conversion candidate, if there
are multiple candidates, it will return first one. This is for the
conversion in non-interactive mode.
- Parameter aText
- Text string to be converted.
- Parameter nStartPos
- The start position in aText for the conversion
- Parameter nLength
- The length of the partion in aText for the conversion
- Parameter aLocal
- Locale the conversion is referring to.
- Parameter nTextConversionType
- One of TextConversionType values.
- Parameter nTextConversionOptions
- Combination of TextConversionOption values.
- Returns
- Converted text
- Throws
- NoSupportException
when nConversionDictionaryType is not known by the implementation,
or when the locale is not supported.
|
|
interactiveConversion
- Description
- Method to query if the conversion type should be interactive or
non-interactive mode.
- Parameter aLocal
- Locale the conversion is referring to.
- Parameter nTextConversionType
- One of TextConversionType values.
- Parameter nTextConversionOptions
- Combination of TextConversionOption values.
- Returns
- true if the entry is a valid entry for the dictionary
false otherwise.
- Throws
- NoSupportException
when nConversionDictionaryType is not known by the implementation,
or when the locale is not supported.
|
|
Copyright © 2003 Sun Microsystems, Inc.