|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vgrs.xcode.common.unicodedata.UnicodeDataLoader
public final class UnicodeDataLoader
This class reads and parses the information in the "data/unicode/UnicodeData.txt.gz" file. This file contains all the code points assigned by Unicode. A number of fields are read and parsed along with the code point. This information is then used to implement the IDNA2008 Protocol and also by the [@link Normalize} class to perform NFKC normalization as required by the IDNA2008 Protocol. The general category and the BIDI class is also stored for each assigned code point.
| Constructor Summary | |
|---|---|
UnicodeDataLoader()
|
|
| Method Summary | |
|---|---|
protected static TIntObjectMap<java.lang.String> |
getBidiClassTable()
Returns the bidiClassTable |
protected static TIntIntMap |
getCanonicalClassTable()
Returns the canonicalClassTable |
protected static TIntSet |
getCompatibilityTable()
Returns the compatibilityTable |
protected static TLongIntMap |
getComposeTable()
Returns the composeTable |
protected static TIntObjectMap<int[]> |
getDecomposeTable()
Returns the decomposeTable |
protected static TIntSet |
getExcludedTable()
Returns the excludedTable |
protected static TIntObjectMap<java.lang.String> |
getGeneralCategoryTable()
Returns the generalCategoryTable |
protected static TIntSet |
getUnicodeDataPoints()
Returns the unicodeDataPoints |
protected static void |
nullifyUnicodeDataPointsTable()
Once the derived property of each Unicode code point is calculated, the UNICODE_DATA_POINTS data structure is no longer needed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnicodeDataLoader()
| Method Detail |
|---|
protected static TIntSet getUnicodeDataPoints()
protected static TIntSet getExcludedTable()
protected static TIntSet getCompatibilityTable()
protected static TIntIntMap getCanonicalClassTable()
protected static TLongIntMap getComposeTable()
protected static TIntObjectMap<int[]> getDecomposeTable()
protected static TIntObjectMap<java.lang.String> getGeneralCategoryTable()
protected static TIntObjectMap<java.lang.String> getBidiClassTable()
protected static void nullifyUnicodeDataPointsTable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||