| Modifier and Type | Field and Description |
|---|---|
| public static final StringPreparations | NO_PREPARATION
Implementation of StringPreparation that performs no preparation. |
| public static final StringPreparations | SASL_PREPARATION
Implementation of StringPreparation that performs preparation. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract String | |
| public String | normalize(String
The String to prepare value)Implements com. |
| public static StringPreparations | |
| public static StringPreparations[] |
| NO_PREPARATION | back to summary |
|---|---|
| public static final StringPreparations NO_PREPARATION Implementation of StringPreparation that performs no preparation. Non US-ASCII characters will produce an exception. Even though the [RFC5802] is not very clear about it, this implementation will normalize non-printable US-ASCII characters similarly to what SaslPrep does (i.e., removing them). | |
| SASL_PREPARATION | back to summary |
|---|---|
| public static final StringPreparations SASL_PREPARATION Implementation of StringPreparation that performs preparation. Non US-ASCII characters will produce an exception. Even though the [RFC5802] is not very clear about it, this implementation will normalize as SaslPrep does. | |
| StringPreparations | back to summary |
|---|---|
| private StringPreparations() | |
| doNormalize | back to summary |
|---|---|
| protected abstract String doNormalize(String value) throws IllegalArgumentException | |
| normalize | back to summary |
|---|---|
| public String normalize(String value) throws IllegalArgumentException Implements com. Doc from com. Normalize a UTF-8 String according to this String Preparation rules.
| |
| valueOf | back to summary |
|---|---|
| public static StringPreparations valueOf(String name) | |
| values | back to summary |
|---|---|
| public static StringPreparations[] values() | |