| Package | Description | 
|---|---|
| javax.naming.ldap | Provides support for LDAPv3 extended operations and controls. | 
| Modifier and Type | Method and Description | 
|---|---|
| Rdn | LdapName. getRdn(int posn)Retrieves an RDN of this LDAP name as an Rdn. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Rdn> | LdapName. getRdns()Retrieves the list of relative distinguished names. | 
| Modifier and Type | Method and Description | 
|---|---|
| Name | LdapName. add(int posn,
   Rdn comp)Adds a single RDN at a specified position within this
 LDAP name. | 
| Name | LdapName. add(Rdn comp)Adds a single RDN to the end of this LDAP name. | 
| Modifier and Type | Method and Description | 
|---|---|
| Name | LdapName. addAll(int posn,
      List<Rdn> suffixRdns)Adds the RDNs of a name -- in order -- at a specified position
 within this name. | 
| Name | LdapName. addAll(List<Rdn> suffixRdns)Adds the RDNs of a name -- in order -- to the end of this name. | 
| boolean | LdapName. endsWith(List<Rdn> rdns)Determines whether the specified RDN sequence forms a suffix of this
 LDAP name. | 
| boolean | LdapName. startsWith(List<Rdn> rdns)Determines whether the specified RDN sequence forms a prefix of this
 LDAP name. | 
| Constructor and Description | 
|---|
| Rdn(Rdn rdn)Constructs an Rdn from the given rdn. | 
| Constructor and Description | 
|---|
| LdapName(List<Rdn> rdns)Constructs an LDAP name given its parsed RDN components. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.