public interface DnFactory
Modifier and Type | Method and Description |
---|---|
org.apache.directory.api.ldap.model.name.Dn |
create(String... upRdns)
Creates a Dn from user provided RDNs.
|
org.apache.directory.api.ldap.model.name.Dn |
create(String upDn)
Creates a Dn form a user provided Dn.
|
org.apache.directory.api.ldap.model.name.Dn create(String... upRdns) throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
upRdns
- the user provided RDNsorg.apache.directory.api.ldap.model.exception.LdapInvalidDnException
- if one of the strings isn't a valid Rdnorg.apache.directory.api.ldap.model.name.Dn create(String upDn) throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
upDn
- the user provided Dnorg.apache.directory.api.ldap.model.exception.LdapInvalidDnException
- if the string isn't a valid DnCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.