com.unboundid.ldap.sdk.DN.getRDNStrings()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(90)

本文整理了Java中com.unboundid.ldap.sdk.DN.getRDNStrings()方法的一些代码示例,展示了DN.getRDNStrings()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DN.getRDNStrings()方法的具体详情如下:
包路径:com.unboundid.ldap.sdk.DN
类名称:DN
方法名:getRDNStrings

DN.getRDNStrings介绍

[英]Retrieves the set of string representations of the RDNs that comprise this DN.
[中]

代码示例

代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition

/**
 * Retrieves the set of string representations of the RDNs that comprise this
 * DN.
 *
 * @param  s  The string representation of the DN for which to retrieve the
 *            RDN strings.  It must not be {@code null}.
 *
 * @return  The set of string representations of the RDNs that comprise this
 *          DN.
 *
 * @throws  LDAPException  If the provided string cannot be parsed as a DN.
 */
public static String[] getRDNStrings(final String s)
    throws LDAPException
{
 return new DN(s).getRDNStrings();
}

代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition

/**
 * Retrieves the set of string representations of the RDNs that comprise this
 * DN.
 *
 * @param  s  The string representation of the DN for which to retrieve the
 *            RDN strings.  It must not be {@code null}.
 *
 * @return  The set of string representations of the RDNs that comprise this
 *          DN.
 *
 * @throws  LDAPException  If the provided string cannot be parsed as a DN.
 */
public static String[] getRDNStrings(final String s)
    throws LDAPException
{
 return new DN(s).getRDNStrings();
}

相关文章