|
Oracle® Globalization Development Kit Java API Reference 10g Release 2 (10.2) Part No. B14224-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 stores the result generated by the LCSDetector
class. Methods in this class can be used to retrieve specific information from the result.
LCSDetector
Method Summary | |
int |
getHiHitPairs() Returns the number of top ranking pairs that have close ratios for the detection. |
String |
getIANACharacterSet() Returns the IANA character set name of the one with the best detection result. |
String |
getIANACharacterSet(int rank) Returns the IANA character set name of the one with the ranked detection result. |
String |
getISOLanguage() Returns the ISO language name of the one with the best detection. |
String |
getISOLanguage(int rank) Returns the ISO language name of the one with the ranked detection result. |
String |
getJavaCharacterSet() Returns the Java character set name of the one with the best detection result. |
String |
getJavaCharacterSet(int rank) Returns the Java character set name of the one with the ranked detection result. |
String |
getORACharacterSet() Returns the Oracle character set name of the one with the best detection result. |
String |
getORACharacterSet(int rank) Returns the Oracle character set name of the one with the ranked detection result. |
String |
getORALanguage() Returns the Oracle language name of the one with the best detection result. |
String |
getORALanguage(int rank) Returns the Oracle language name of the one with the ranked detection result. |
float |
getRatio() |
float |
getRatio(int rank) |
int |
getSize() Returns 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()
zh_TW
is for Traditional Chinese and zh
is for Simplified Chinese.public String getISOLanguage(int rank)
zh_TW
is for Traditional Chinese and zh
is for Simplified Chinese.rank
- the rank of the ISO language that you want returned; rank=2
returns the second best matchpublic String getORALanguage()
public String getORALanguage(int rank)
rank
- the ranking of the Oracle language that you want returned; rank=2
returns the second best matchrank
, null
if the language is not supported by Oracle. The empty string is returned if more sampling data is required.public String getIANACharacterSet()
public String getIANACharacterSet(int rank)
rank
- the ranking of the ISO character that you want returned; rank=2
returns the second best matchrank
. The empty string is returned if more sampling data is required.public String getORACharacterSet()
null
if the character set is not supported by Oracle. The empty string is returned if more sampling data is required.public String getORACharacterSet(int rank)
rank
- the ranking of the Oracle character that you want returned; rank=2
returns the second best matchrank
, null
if the character set is not supported by Oracle. The empty string is returned if more sampling data is required.public String getJavaCharacterSet()
public String getJavaCharacterSet(int rank)
rank
- the ranking of the Java character set that you want returned; rank=2
returns the second best matchrank
. The empty string is returned if more sampling data is required.public int getHiHitPairs()
public int getSize()
public float getRatio()
public float getRatio(int rank)
|
Oracle® Globalization Development Kit Java API Reference 10g Release 2 (10.2) Part No. B14224-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |