|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.name.DefaultStringNormalizer
public class DefaultStringNormalizer
A normalizer which transforms an escape sequence into an internal canonical form: into UTF-8 characters presuming the escape sequence fits that range. This is used explicity for non-binary attribute types only.
| Constructor Summary | |
|---|---|
DefaultStringNormalizer()
|
|
| Method Summary | |
|---|---|
java.lang.String |
normalize(java.lang.String value)
Gets the normalized value. |
Value<?> |
normalize(Value<?> value)
Gets the normalized value. |
static java.lang.String |
normalizeString(java.lang.String string)
Normalize the given String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultStringNormalizer()
| Method Detail |
|---|
public Value<?> normalize(Value<?> value)
throws javax.naming.NamingException
normalize in interface Normalizervalue - the value to normalize. It must *not* be null !
javax.naming.NamingException - if an error results during normalization
public java.lang.String normalize(java.lang.String value)
throws javax.naming.NamingException
normalize in interface Normalizervalue - the value to normalize. It must *not* be null !
javax.naming.NamingException - if an error results during normalization
public static java.lang.String normalizeString(java.lang.String string)
throws javax.naming.NamingException
string - The string to normalize
javax.naming.NamingException - If the normalization throws an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||