| Modifier and Type | Class and Description |
|---|---|
| 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 UBiDiProps | |
| private static final WeakReference | |
| private static final int | |
| private boolean | |
| public static final int | DEFAULT
Option to prohibit processing of unassigned code points in the input |
| private static final int | |
| private boolean | |
| 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 String[] | |
| private static final int | |
| public static final int | RFC3491_NAMEPREP
Profile type: RFC3491 Nameprep |
| public static final int | RFC3530_NFS4_CIS_PREP
Profile type: RFC3530 nfs4_cis_prep |
| public static final int | RFC3530_NFS4_CS_PREP
Profile type: RFC3530 nfs4_cs_prep |
| public static final int | RFC3530_NFS4_CS_PREP_CI
Profile type: RFC3530 nfs4_cs_prep with case insensitive option |
| public static final int | RFC3530_NFS4_MIXED_PREP_PREFIX
Profile type: RFC3530 nfs4_mixed_prep for prefix |
| public static final int | RFC3530_NFS4_MIXED_PREP_SUFFIX
Profile type: RFC3530 nfs4_mixed_prep for suffix |
| public static final int | RFC3722_ISCSI
Profile type: RFC3722 iSCSI |
| public static final int | RFC3920_NODEPREP
Profile type: RFC3920 XMPP Nodeprep |
| public static final int | RFC3920_RESOURCEPREP
Profile type: RFC3920 XMPP Resourceprep |
| public static final int | RFC4011_MIB
Profile type: RFC4011 Policy MIB Stringprep |
| public static final int | RFC4013_SASLPREP
Profile type: RFC4013 SASLprep |
| public static final int | RFC4505_TRACE
Profile type: RFC4505 trace |
| public static final int | RFC4518_LDAP
Profile type: RFC4518 LDAP |
| public static final int | RFC4518_LDAP_CI
Profile type: RFC4518 LDAP for case ignore, numeric and stored prefix matching rules |
| private CharTrie | |
| 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. |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private char | |
| public static StringPrep | getInstance(int
The profile passed to find the StringPrep instance. profile)Gets a StringPrep instance for the specified profile |
| 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:
options)
Prepare the input buffer for use in applications with the given profile. |
| public String | Returns: String A String containing the outputA string src, int A bit set of options:
options)
Prepare the input String 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 | |
| bdp | back to summary |
|---|---|
| private UBiDiProps bdp | |
| CACHE | back to summary |
|---|---|
private static final WeakReference<StringPrep>[] CACHE
| |
| CHECK_BIDI_ON | back to summary |
|---|---|
| private static final int CHECK_BIDI_ON | |
| checkBiDi | back to summary |
|---|---|
| private boolean checkBiDi | |
| 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 | |
| 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 | |
| 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_VALUE | back to summary |
|---|---|
| private static final int MAX_INDEX_VALUE | |
| MAX_PROFILE | back to summary |
|---|---|
| private static final int MAX_PROFILE | |
| 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 | |
| PROFILE_NAMES | back to summary |
|---|---|
| private static final String[] PROFILE_NAMES | |
| PROHIBITED | back to summary |
|---|---|
| private static final int PROHIBITED | |
| RFC3491_NAMEPREP | back to summary |
|---|---|
| public static final int RFC3491_NAMEPREP Profile type: RFC3491 Nameprep
| |
| RFC3530_NFS4_CIS_PREP | back to summary |
|---|---|
| public static final int RFC3530_NFS4_CIS_PREP Profile type: RFC3530 nfs4_cis_prep
| |
| RFC3530_NFS4_CS_PREP | back to summary |
|---|---|
| public static final int RFC3530_NFS4_CS_PREP Profile type: RFC3530 nfs4_cs_prep
| |
| RFC3530_NFS4_CS_PREP_CI | back to summary |
|---|---|
| public static final int RFC3530_NFS4_CS_PREP_CI Profile type: RFC3530 nfs4_cs_prep with case insensitive option
| |
| RFC3530_NFS4_MIXED_PREP_PREFIX | back to summary |
|---|---|
| public static final int RFC3530_NFS4_MIXED_PREP_PREFIX Profile type: RFC3530 nfs4_mixed_prep for prefix
| |
| RFC3530_NFS4_MIXED_PREP_SUFFIX | back to summary |
|---|---|
| public static final int RFC3530_NFS4_MIXED_PREP_SUFFIX Profile type: RFC3530 nfs4_mixed_prep for suffix
| |
| RFC3722_ISCSI | back to summary |
|---|---|
| public static final int RFC3722_ISCSI Profile type: RFC3722 iSCSI
| |
| RFC3920_NODEPREP | back to summary |
|---|---|
| public static final int RFC3920_NODEPREP Profile type: RFC3920 XMPP Nodeprep
| |
| RFC3920_RESOURCEPREP | back to summary |
|---|---|
| public static final int RFC3920_RESOURCEPREP Profile type: RFC3920 XMPP Resourceprep
| |
| RFC4011_MIB | back to summary |
|---|---|
| public static final int RFC4011_MIB Profile type: RFC4011 Policy MIB Stringprep
| |
| RFC4013_SASLPREP | back to summary |
|---|---|
| public static final int RFC4013_SASLPREP Profile type: RFC4013 SASLprep
| |
| RFC4505_TRACE | back to summary |
|---|---|
| public static final int RFC4505_TRACE Profile type: RFC4505 trace
| |
| RFC4518_LDAP | back to summary |
|---|---|
| public static final int RFC4518_LDAP Profile type: RFC4518 LDAP
| |
| RFC4518_LDAP_CI | back to summary |
|---|---|
| public static final int RFC4518_LDAP_CI Profile type: RFC4518 LDAP for case ignore, numeric and stored prefix matching rules
| |
| sprepTrie | back to summary |
|---|---|
| private CharTrie sprepTrie | |
| 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.
| |
| StringPrep | back to summary |
|---|---|
| private StringPrep(ByteBuffer bytes) throws IOException | |
| getCodePointValue | back to summary |
|---|---|
| private char getCodePointValue(int ch) | |
| getInstance | back to summary |
|---|---|
| public static StringPrep getInstance(int profile) Gets a StringPrep instance for the specified profile
| |
| 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 StringPrepParseException | |
| normalize | back to summary |
|---|---|
| private StringBuffer normalize(StringBuffer src) | |
| prepare | back to summary |
|---|---|
| public StringBuffer prepare(UCharacterIterator src, int options) throws StringPrepParseException Prepare the input buffer for use in applications with the given profile. This operation maps, normalizes(NFKC), checks for prohibited and BiDi characters in the order defined by RFC 3454 depending on the options specified in the profile.
| |
| prepare | back to summary |
|---|---|
| public String prepare(String src, int options) throws StringPrepParseException Prepare the input String for use in applications with the given profile. This operation maps, normalizes(NFKC), checks for prohibited and BiDi characters in the order defined by RFC 3454 depending on the options specified in the profile.
| |
| 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() | |