|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.schema.PrepareString
public 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 java.lang.StringBuilder |
bidi(char[] array)
Remove all bidirectionnal chars. |
static java.lang.String |
bidi(java.lang.String str)
Remove all bidirectionnal chars. |
static java.lang.String |
normalize(java.lang.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 java.lang.String normalize(java.lang.String str, PrepareString.StringType type) throws java.io.IOException
str
- The String to normalizetype
- The string type
java.io.IOException
public static java.lang.String bidi(java.lang.String str)
str
- The string where bidi chars are to be removed
public static java.lang.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 |