|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.directory.shared.ldap.ldif.LdifUtils
Some LDIF useful methods
| Constructor Summary | |
LdifUtils()
|
|
| Method Summary | |
static java.lang.String |
convertToLdif(javax.naming.directory.Attributes attrs)
Convert an Attributes as LDIF |
static boolean |
isLDIFSafe(java.lang.String str)
Checks if the input String contains only safe values, that is, the data does not need to be encoded for use with LDIF. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LdifUtils()
| Method Detail |
public static boolean isLDIFSafe(java.lang.String str)
str - the String to be checked
public static java.lang.String convertToLdif(javax.naming.directory.Attributes attrs)
throws javax.naming.NamingException
attrs - the Attributes to convert
javax.naming.NamingException - If a naming exception is encountered.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||