com.ibm.icu.impl |
|
Java Source File Name | Type | Comment |
Assert.java | Class | |
BOCU.java | Class | Binary Ordered Compression for Unicode
Users are strongly encouraged to read the ICU paper on
BOCU before attempting to use this class.
BOCU is used to compress unicode text into a stream of unsigned
bytes. |
ByteBuffer.java | Class | |
CalendarAstronomer.java | Class | CalendarAstronomer is a class that can perform the calculations to
determine the positions of the sun and moon, the time of sunrise and
sunset, and other astronomy-related data. |
CalendarCache.java | Class | |
CalendarData.java | Class | This class abstracts access to calendar (Calendar and DateFormat) data. |
CharacterIteratorWrapper.java | Class | |
CharTrie.java | Class | Trie implementation which stores data in char, 16 bits. |
CollectionUtilities.java | Class | |
ICUBinary.java | Class | |
ICUBinaryStream.java | Class | A DataInputStream that implements random-access seeking. |
ICUData.java | Class | Provides access to ICU data files as InputStreams. |
ICUDebug.java | Class | |
ICUListResourceBundle.java | Class | |
ICULocaleData.java | Class | Provides information about and access to resource bundles in the
com.ibm.text.resources package. |
ICULocaleService.java | Class | |
ICUNotifier.java | Class | Abstract implementation of a notification facility. |
ICUResourceBundle.java | Class | |
ICUResourceBundleImpl.java | Class | |
ICUResourceBundleIterator.java | Class | Class for enabling iteration over UResourceBundle objects. |
ICUResourceBundleReader.java | Class | This class reads the *.res resource bundle format
(For the latest version of the file format documentation see
ICU4C's source/common/uresdata.h file.)
File format for .res resource bundle files (formatVersion=1.2)
An ICU4C resource bundle file (.res) is a binary, memory-mappable file
with nested, hierarchical data structures.
It physically contains the following:
Resource root; -- 32-bit Resource item, root item for this bundle's tree;
currently, the root item must be a table or table32 resource item
int32_t indexes[indexes[0]]; -- array of indexes for friendly
reading and swapping; see URES_INDEX_* above
new in formatVersion 1.1 (ICU 2.8)
char keys[]; -- characters for key strings
(formatVersion 1.0: up to 65k of characters; 1.1: <2G)
(minus the space for root and indexes[]),
which consist of invariant characters (ASCII/EBCDIC) and are NUL-terminated;
padded to multiple of 4 bytes for 4-alignment of the following data
data; -- data directly and indirectly indexed by the root item;
the structure is determined by walking the tree
Each resource bundle item has a 32-bit Resource handle (see typedef above)
which contains the item type number in its upper 4 bits (31..28) and either
an offset or a direct value in its lower 28 bits (27..0).
The order of items is undefined and only determined by walking the tree.
Leaves of the tree may be stored first or last or anywhere in between,
and it is in theory possible to have unreferenced holes in the file.
Direct values:
- Empty Unicode strings have an offset value of 0 in the Resource handle itself.
- Integer values are 28-bit values stored in the Resource handle itself;
the interpretation of unsigned vs. |
ICURWLock.java | Class | A simple Reader/Writer lock. |
ICUService.java | Class | A Service provides access to service objects that implement a
particular service, e.g. |
ImplicitCEGenerator.java | Class | |
IntTrie.java | Class | Trie implementation which stores data in int, 32 bits. |
IntTrieBuilder.java | Class | Builder class to manipulate and generate a trie.
This is useful for ICU data in primitive types.
Provides a compact way to store information that is indexed by Unicode
values, such as character properties, types, keyboard values, etc. |
InvalidFormatException.java | Class | |
JDKTimeZone.java | Class | Wrapper around OlsonTimeZone object. |
LinkedHashMap.java | Class | JDK1.4 LinkedHashMap equivalent implementation for
Java foundation profile support. |
LocaleUtility.java | Class | A class to hold utility functions missing from java.util.Locale. |
LRUMap.java | Class | |
NormalizerDataReader.java | Class | |
NormalizerImpl.java | Class | |
OlsonTimeZone.java | Class | A time zone based on the Olson database. |
PatternTokenizer.java | Class | A simple parsing class for patterns and rules. |
PrettyPrinter.java | Class | Provides more flexible formatting of UnicodeSet patterns. |
ReplaceableUCharacterIterator.java | Class | DLF docs must define behavior when Replaceable is mutated underneath
the iterator. |
ResourceBundleWrapper.java | Class | |
RuleCharacterIterator.java | Class | An iterator that returns 32-bit code points. |
SoftCache.java | Class | |
SortedSetRelation.java | Class | Computationally efficient determination of the relationship between
two SortedSets. |
StringPrepDataReader.java | Class | |
StringUCharacterIterator.java | Class | Used by Collation. |
TextTrieMap.java | Class | TextTrieMap is a trie implementation for supporting
fast prefix match for the key. |
TimeZoneAdapter.java | Class | TimeZoneAdapter wraps a com.ibm.icu.util.TimeZone
subclass that is NOT a JDKTimeZone, that is, that does not itself
wrap a java.util.TimeZone. |
Trie.java | Class | A trie is a kind of compressed, serializable table of values
associated with Unicode code points (0..0x10ffff).
This class defines the basic structure of a trie and provides methods
to retrieve the offsets to the actual data.
Data will be the form of an array of basic types, char or int.
The actual data format will have to be specified by the user in the
inner static interface com.ibm.icu.impl.Trie.DataManipulate.
This trie implementation is optimized for getting offset while walking
forward through a UTF-16 string. |
TrieBuilder.java | Class | Builder class to manipulate and generate a trie.
This is useful for ICU data in primitive types.
Provides a compact way to store information that is indexed by Unicode
values, such as character properties, types, keyboard values, etc. |
TrieIterator.java | Class | Class enabling iteration of the values in a Trie.
Result of each iteration contains the interval of codepoints that have
the same value type and the value type itself.
The comparison of each codepoint value is done via extract(), which the
default implementation is to return the value as it is.
Method extract() can be overwritten to perform manipulations on
codepoint values in order to perform specialized comparison.
TrieIterator is designed to be a generic iterator for the CharTrie
and the IntTrie, hence to accommodate both types of data, the return
result will be in terms of int (32 bit) values.
See com.ibm.icu.text.UCharacterTypeIterator for examples of use.
Notes for porting utrie_enum from icu4c to icu4j:
Internally, icu4c's utrie_enum performs all iterations in its body. |
UBiDiProps.java | Class | |
UCaseProps.java | Class | |
UCharacterIteratorWrapper.java | Class | |
UCharacterName.java | Class | Internal class to manage character names.
Since data for names are stored
in an array of char, by default indexes used in this class is refering to
a 2 byte count, unless otherwise stated. |
UCharacterNameChoice.java | Interface | Internal class containing selector constants for the unicode character names. |
UCharacterNameReader.java | Class | Internal reader class for ICU data file uname.dat containing
Unicode codepoint name data.
This class simply reads unames.icu, authenticates that it is a valid
ICU data file and split its contents up into blocks of data for use in
com.ibm.icu.impl.UCharacterName. |
UCharacterProperty.java | Class | Internal class used for Unicode character property database.
This classes store binary data read from uprops.icu.
It does not have the capability to parse the data into more high-level
information. |
UCharacterPropertyReader.java | Class | Internal reader class for ICU data file uprops.icu containing
Unicode codepoint data.
This class simply reads uprops.icu, authenticates that it is a valid
ICU data file and split its contents up into blocks of data for use in
com.ibm.icu.impl.UCharacterProperty. |
UCharacterUtility.java | Class | Internal character utility class for simple data type conversion and String
parsing functions. |
UCharArrayIterator.java | Class | |
UPropertyAliases.java | Class | Wrapper for the pnames.icu binary data file. |
URLHandler.java | Class | |
USerializedSet.java | Class | Simple class for handling serialized USet/UnicodeSet structures
without object creation. |
UTF32.java | Class | This class converts between an array of bytes in UTF-32 encoding (BE or LE) and
Java Strings. |
Utility.java | Class | |
UtilityExtensions.java | Class | |
ZoneInfoExt.java | Class | |
ZoneMeta.java | Class | This class, not to be instantiated, implements the meta-data
missing from the underlying core JDK implementation of time zones. |