|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.schema.PrepareString
public final class PrepareString
This class implements the 6 steps described in RFC 4518
| Nested Class Summary | |
|---|---|
static class |
PrepareString.StringType
The type of String we have to normalize |
| Method Summary | |
|---|---|
static StringBuilder |
bidi(char[] array)
Remove all bidirectionnal chars. |
static String |
bidi(String str)
Remove all bidirectionnal chars. |
static String |
normalize(String str,
PrepareString.StringType type)
We have to go through 6 steps : 1) Transcode 2) Map 3) Normalize 4) Prohibit 5) Bidi 6) Insignifiant Character Handling The first step is already done, the step (3) is not done. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String normalize(String str,
PrepareString.StringType type)
throws IOException
str - The String to normalizetype - The string type
IOExceptionpublic static String bidi(String str)
str - The string where bidi chars are to be removed
public static StringBuilder bidi(char[] array)
array - The char array where bidi chars are to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||