|
Directory SDK for Java 4.19 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetscape.ldap.LDAPDN
Represents a distinguished name in LDAP.
You can use objects of this class to split a distinguished name (DN) into its individual components. You can also escape the characters in a DN.
| Constructor Summary | |
LDAPDN()
|
|
| Method Summary | |
static boolean |
equals(String dn1,
String dn2)
Compares two dn's for equality. |
static String |
escapeRDN(String rdn)
Returns the RDN after escaping the characters specified by netscape.ldap.util.DN.ESCAPED_CHAR. |
static String[] |
explodeDN(String dn,
boolean noTypes)
Returns the individual components of a distinguished name (DN). |
static String[] |
explodeRDN(String rdn,
boolean noTypes)
Returns the individual components of a relative distinguished name (RDN). |
static String |
normalize(String dn)
Normalizes the dn. |
static String |
unEscapeRDN(String rdn)
Returns the RDN after unescaping any escaped characters. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LDAPDN()
| Method Detail |
public static String[] explodeDN(String dn,
boolean noTypes)
dn - distinguished name of which you want to get the components.noTypes - if true, returns only the values of the
components and not the names (such as 'cn=')
explodeRDN(java.lang.String, boolean)
public static String[] explodeRDN(String rdn,
boolean noTypes)
rdn - relative distinguished name of which you want to get the components.noTypes - if true, returns only the values of the
components and not the names (such as 'cn=')
explodeDN(java.lang.String, boolean)public static String escapeRDN(String rdn)
netscape.ldap.util.DN.ESCAPED_CHAR.
rdn - the RDN to escape
DN.ESCAPED_CHAR,
unEscapeRDN(java.lang.String)public static String unEscapeRDN(String rdn)
netscape.ldap.LDAPDN.ESCAPED_CHAR.
rdn - the RDN to unescape
DN.ESCAPED_CHAR,
escapeRDN(java.lang.String)public static String normalize(String dn)
dn - the DN to normalize
public static boolean equals(String dn1,
String dn2)
dn1 - the first dn to comparedn2 - the second dn to compare
|
Directory SDK for Java 4.19 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||