Class DnUtils
- java.lang.Object
-
- org.apache.directory.api.ldap.model.name.DnUtils
-
public final class DnUtils extends Object
Utility class used to manipulate Dn or Rdn elements.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getRdnAttributeType(String rdn)
Gets the attributeType of a RDN (the left part of the RDN).static String
getRdnValue(String rdn)
Gets the value of a RDN ( the right part of the RDN).
-
-
-
Method Detail
-
getRdnAttributeType
public static String getRdnAttributeType(String rdn)
Gets the attributeType of a RDN (the left part of the RDN). The RDN is supposed to contain only one AVA.- Parameters:
rdn
- the RDN- Returns:
- the attributeType
-
getRdnValue
public static String getRdnValue(String rdn)
Gets the value of a RDN ( the right part of the RDN). The RDN is supposed to contain only one AVA.- Parameters:
rdn
- the RDN- Returns:
- the value of tpart of the RDN
-
-