org.apache.directory.api.ldap.model.name
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DnUtils
public DnUtils()
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
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.