| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALLOW_UNASSIGNED
Option to allow processing of unassigned code points in the input |
| private static final int | |
| private boolean | |
| private static final int | DATA_BUFFER_SIZE
Default buffer size of datafile |
| public static final int | DEFAULT
Option to prohibit processing of unassigned code points in the input |
| private static final int | |
| private boolean | |
| private byte[] | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private int[] | |
| private static final int | |
| private char[] | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private VersionInfo | |
| private static final int | |
| private static final int | |
| private static final int | |
| private StringPrep. | |
| private VersionInfo | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | StringPrep(InputStream
The stream for reading the StringPrep profile binarySun inputStream)Creates an StringPrep object after reading the input stream. |
| Modifier and Type | Method and Description |
|---|---|
| private char | |
| private static final void | |
| private static VersionInfo | |
| private static VersionInfo | |
| private StringBuffer | |
| private StringBuffer | |
| public StringBuffer | Returns: StringBuffer A StringBuffer containing the outputA UCharacterIterator object containing the source string src, int A bit set of options:
- StringPrep.NONE Prohibit processing of unassigned code points in the input
- StringPrep.ALLOW_UNASSIGNED Treat the unassigned code points are in the input
as normal Unicode code points. options)Prepare the input buffer for use in applications with the given profile. |
| ALLOW_UNASSIGNED | back to summary |
|---|---|
| public static final int ALLOW_UNASSIGNED Option to allow processing of unassigned code points in the input | |
| CHECK_BIDI_ON | back to summary |
|---|---|
| private static final int CHECK_BIDI_ON | |
| checkBiDi | back to summary |
|---|---|
| private boolean checkBiDi | |
| DATA_BUFFER_SIZE | back to summary |
|---|---|
| private static final int DATA_BUFFER_SIZE Default buffer size of datafile | |
| DEFAULT | back to summary |
|---|---|
| public static final int DEFAULT Option to prohibit processing of unassigned code points in the input | |
| DELETE | back to summary |
|---|---|
| private static final int DELETE | |
| doNFKC | back to summary |
|---|---|
| private boolean doNFKC | |
| formatVersion | back to summary |
|---|---|
| private byte[] formatVersion | |
| FOUR_UCHARS_MAPPING_INDEX_START | back to summary |
|---|---|
| private static final int FOUR_UCHARS_MAPPING_INDEX_START | |
| INDEX_MAPPING_DATA_SIZE | back to summary |
|---|---|
| private static final int INDEX_MAPPING_DATA_SIZE | |
| INDEX_TOP | back to summary |
|---|---|
| private static final int INDEX_TOP | |
| INDEX_TRIE_SIZE | back to summary |
|---|---|
| private static final int INDEX_TRIE_SIZE | |
| indexes | back to summary |
|---|---|
| private int[] indexes | |
| MAP | back to summary |
|---|---|
| private static final int MAP | |
| mappingData | back to summary |
|---|---|
| private char[] mappingData | |
| MAX_INDEX_TOP_LENGTH | back to summary |
|---|---|
| private static final int MAX_INDEX_TOP_LENGTH | |
| MAX_INDEX_VALUE | back to summary |
|---|---|
| private static final int MAX_INDEX_VALUE | |
| NORM_CORRECTNS_LAST_UNI_VERSION | back to summary |
|---|---|
| private static final int NORM_CORRECTNS_LAST_UNI_VERSION | |
| NORMALIZATION_ON | back to summary |
|---|---|
| private static final int NORMALIZATION_ON | |
| normCorrVer | back to summary |
|---|---|
| private VersionInfo normCorrVer | |
| ONE_UCHAR_MAPPING_INDEX_START | back to summary |
|---|---|
| private static final int ONE_UCHAR_MAPPING_INDEX_START | |
| OPTIONS | back to summary |
|---|---|
| private static final int OPTIONS | |
| PROHIBITED | back to summary |
|---|---|
| private static final int PROHIBITED | |
| sprepTrieImpl | back to summary |
|---|---|
| private StringPrep. | |
| sprepUniVer | back to summary |
|---|---|
| private VersionInfo sprepUniVer | |
| THREE_UCHARS_MAPPING_INDEX_START | back to summary |
|---|---|
| private static final int THREE_UCHARS_MAPPING_INDEX_START | |
| TWO_UCHARS_MAPPING_INDEX_START | back to summary |
|---|---|
| private static final int TWO_UCHARS_MAPPING_INDEX_START | |
| TYPE_LIMIT | back to summary |
|---|---|
| private static final int TYPE_LIMIT | |
| TYPE_THRESHOLD | back to summary |
|---|---|
| private static final int TYPE_THRESHOLD | |
| UNASSIGNED | back to summary |
|---|---|
| private static final int UNASSIGNED | |
| StringPrep | back to summary |
|---|---|
| public StringPrep(InputStream inputStream) throws IOException Creates an StringPrep object after reading the input stream. The object does not hold a reference to the input steam, so the stream can be closed after the method returns.
| |
| getCodePointValue | back to summary |
|---|---|
| private char getCodePointValue(int ch) | |
| getValues | back to summary |
|---|---|
| private static final void getValues(char trieWord, StringPrep. | |
| getVersionInfo | back to summary |
|---|---|
| private static VersionInfo getVersionInfo(int comp) | |
| getVersionInfo | back to summary |
|---|---|
| private static VersionInfo getVersionInfo(byte[] version) | |
| map | back to summary |
|---|---|
| private StringBuffer map(UCharacterIterator iter, int options) throws ParseException | |
| normalize | back to summary |
|---|---|
| private StringBuffer normalize(StringBuffer src) | |
| prepare | back to summary |
|---|---|
| public StringBuffer prepare(UCharacterIterator src, int options) throws ParseException Prepare the input buffer for use in applications with the given profile. This operation maps, normalizes(NFKC), checks for prohited and BiDi characters in the order defined by RFC 3454 depending on the options specified in the profile.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: data offset or 0 if there is no data for the lead surrogateImplements jdk. Called by com.ibm.icu.util.Trie to extract from a lead surrogate's data the index array offset of the indexes for that lead surrogate. |
| sprepTrie | back to summary |
|---|---|
| private CharTrie sprepTrie | |
| StringPrepTrieImpl | back to summary |
|---|---|
| private StringPrepTrieImpl() | |
| getFoldingOffset | back to summary |
|---|---|
| public int getFoldingOffset(int value) Implements jdk. Called by com.ibm.icu.util.Trie to extract from a lead surrogate's data the index array offset of the indexes for that lead surrogate.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| isIndex | back to summary |
|---|---|
| pack-priv boolean isIndex | |
| type | back to summary |
|---|---|
| pack-priv int type | |
| value | back to summary |
|---|---|
| pack-priv int value | |
| Values | back to summary |
|---|---|
| private Values() | |
| reset | back to summary |
|---|---|
| public void reset() | |