Java javax.naming.ldap LdapName fields, constructors, methods, implement or subclass

Example usage for Java javax.naming.ldap LdapName fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.naming.ldap LdapName.

The text is from its open source code.

Constructor

LdapName(String name)
Constructs an LDAP name from the given distinguished name.
LdapName(List rdns)
Constructs an LDAP name given its parsed RDN components.

Method

Nameadd(int posn, String comp)
Adds a single component at a specified position within this LDAP name.
Nameadd(int posn, Rdn comp)
Adds a single RDN at a specified position within this LDAP name.
Nameadd(String comp)
Adds a single component to the end of this LDAP name.
Nameadd(Rdn comp)
Adds a single RDN to the end of this LDAP name.
NameaddAll(Name suffix)
Adds the components of a name -- in order -- to the end of this name.
NameaddAll(List suffixRdns)
Adds the RDNs of a name -- in order -- to the end of this name.
intcompareTo(Object obj)
Compares this LdapName with the specified Object for order.
booleanendsWith(Name n)
Determines whether this LDAP name ends with a specified LDAP name suffix.
booleanendsWith(List rdns)
Determines whether the specified RDN sequence forms a suffix of this LDAP name.
booleanequals(Object obj)
Determines whether two LDAP names are equal.
Stringget(int posn)
Retrieves a component of this LDAP name as a string.
NamegetPrefix(int posn)
Creates a name whose components consist of a prefix of the components of this LDAP name.
RdngetRdn(int posn)
Retrieves an RDN of this LDAP name as an Rdn.
ListgetRdns()
Retrieves the list of relative distinguished names.
NamegetSuffix(int posn)
Creates a name whose components consist of a suffix of the components in this LDAP name.
booleanisEmpty()
Determines whether this LDAP name is empty.
Objectremove(int posn)
Removes a component from this LDAP name.
intsize()
Retrieves the number of components in this LDAP name.
booleanstartsWith(Name n)
Determines whether this LDAP name starts with a specified LDAP name prefix.
booleanstartsWith(List rdns)
Determines whether the specified RDN sequence forms a prefix of this LDAP name.
StringtoString()
Returns a string representation of this LDAP name in a format defined by RFC 2253 and described in the class description.