|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.i18n.lcsd.LCSDResultSet
The LCSDResultSet
class is for storing the result generated by LCSDetector
. Methods in this class can be used to retrieve specific information from the result.
LCSDetector
Method Summary | |
int |
getHiHitPairs() Return the number of top ranking pairs which have close ratios for the detection. |
String |
getIANACharacterSet() Return the IANA character set name of the one with the best detection result |
String |
getIANACharacterSet(int rank) Return the IANA character set name of the one with the ranked detection result |
String |
getISOLanguage() Return the ISO language name of the one with the best detection Note that zh_TW for Traditional Chinese and zh for Simplified Chinese |
String |
getISOLanguage(int rank) Return the ISO language name of the one with the ranked detection result Note that zh_TW for Traditional Chinese and zh for Simplified Chinese |
String |
getORACharacterSet() Return the Oracle character set name of the one with the best detection result |
String |
getORACharacterSet(int rank) Return the Oracle character set name of the one with the ranked detection result |
String |
getORALanguage() Return the Oracle language name of the one with the best detection result If the language is not supported by Oracle, it will be eliminated and the next best match supported by Oracle will be used. |
String |
getORALanguage(int rank) Return the Oracle language names name of the one with the ranked detection result If the language is not supported by Oracle, it will be eliminated and the next best match supported by Oracle will be used. |
float |
getRatio() Return the ratio for the best ranking language/character set pair. |
float |
getRatio(int rank) Return the ratio for the ranked language/character set pair by rank. |
int |
getSize() Return the number of result pairs that have a ratio greater than zero. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public String getISOLanguage()
public String getISOLanguage(int rank)
rank
- the rank of the ISO language which you want returned, rank =2 will return the second best matchpublic String getORALanguage()
public String getORALanguage(int rank)
rank
- the ranking of the Oracle language which you want returned, rank =2 will return the second best matchpublic String getIANACharacterSet()
public String getIANACharacterSet(int rank)
rank
- the ranking of the ISO character which you want returned, rank =2 will return the second best matchpublic String getORACharacterSet()
public String getORACharacterSet(int rank)
rank
- the ranking of the Oracle character which you want returned, rank =2 will return the second best matchpublic int getHiHitPairs()
public int getSize()
public float getRatio()
public float getRatio(int rank)
|
Oracle® Globalization Development Kit Java API Reference 10g Release 1(10.1) B10971-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |