|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ldaptemplate.support.LdapEncoder
Helper class to encode and decode ldap names and values.
Method Summary | |
static java.lang.String |
filterEncode(java.lang.String value)
|
static java.lang.String |
nameDecode(java.lang.String value)
Decodes a value. |
static java.lang.String |
nameEncode(java.lang.String value)
LDAP Encodes a value for use with a DN. |
protected static java.lang.String |
toTwoCharHex(char c)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
protected static java.lang.String toTwoCharHex(char c)
public static java.lang.String filterEncode(java.lang.String value)
public static java.lang.String nameEncode(java.lang.String value)
value
-
public static java.lang.String nameDecode(java.lang.String value) throws BadLdapGrammarException
value
- Trimmed value, so no leading an trailing blanks, except an
escaped space last.
BadLdapGrammarException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |