本文整理了Java中com.unboundid.ldap.sdk.DN.getRDNString()
方法的一些代码示例,展示了DN.getRDNString()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DN.getRDNString()
方法的具体详情如下:
包路径:com.unboundid.ldap.sdk.DN
类名称:DN
方法名:getRDNString
[英]Retrieves the string representation of the leftmost (i.e., furthest from the naming context) RDN component for this DN.
[中]检索此DN的最左侧(即距离命名上下文最远)RDN组件的字符串表示形式。
代码示例来源:origin: apiman/apiman
@Override
public String getDn() {
return dn.getRDNString();
}
代码示例来源:origin: io.apiman/apiman-gateway-engine-core
@Override
public String getDn() {
return dn.getRDNString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Retrieves the string representation of the leftmost (i.e., furthest from
* the naming context) RDN component for the DN with the provided string
* representation.
*
* @param s The string representation of the DN to process. It must not be
* {@code null}.
*
* @return The string representation of the leftmost RDN component for this
* DN, or {@code null} if this DN does not have any RDNs (i.e., it is
* the null DN).
*
* @throws LDAPException If the provided string cannot be parsed as a DN.
*/
public static String getRDNString(final String s)
throws LDAPException
{
return new DN(s).getRDNString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Retrieves the string representation of the leftmost (i.e., furthest from
* the naming context) RDN component for the DN with the provided string
* representation.
*
* @param s The string representation of the DN to process. It must not be
* {@code null}.
*
* @return The string representation of the leftmost RDN component for this
* DN, or {@code null} if this DN does not have any RDNs (i.e., it is
* the null DN).
*
* @throws LDAPException If the provided string cannot be parsed as a DN.
*/
public static String getRDNString(final String s)
throws LDAPException
{
return new DN(s).getRDNString();
}
内容来源于网络,如有侵权,请联系作者删除!