public class DistinguishedName
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DistinguishedName(java.lang.String rawDn)
Constructs the DistinguishedName with a raw input.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this DistinguishedName object.
|
boolean |
equals(java.lang.Object dn)
Compares another DistinguishedName for equality.
|
java.lang.String |
getAsString()
Returns the distinguished name in it raw string format.
|
int |
hashCode()
Returns a hash value that can be used in hash tables.
|
static boolean |
isDN(java.lang.String dn)
Returns true if the given String is a DN consistent with
netscape.ldap.util.DN.
|
java.lang.String |
toString()
Returns the string representation of the distinguished name.
|
public DistinguishedName(java.lang.String rawDn)
rawDn - String representation of the raw keypublic java.lang.String getAsString()
public boolean equals(java.lang.Object dn)
equals in class java.lang.Objectdn - DistinguishedName to comparepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static boolean isDN(java.lang.String dn)
public java.lang.Object clone()
clone in class java.lang.Object