本文整理了Java中com.unboundid.ldap.sdk.DN.toString()
方法的一些代码示例,展示了DN.toString()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DN.toString()
方法的具体详情如下:
包路径:com.unboundid.ldap.sdk.DN
类名称:DN
方法名:toString
[英]Retrieves a string representation of this DN.
[中]检索此DN的字符串表示形式。
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Appends a string representation of this DN to the provided buffer.
*
* @param buffer The buffer to which to append the string representation of
* this DN.
*/
public void toString(final StringBuilder buffer)
{
toString(buffer, false);
}
代码示例来源:origin: com.nimbusds/common
/**
* Creates a new distinguished name (DN) identity.
*
* @param dn The DN, must not be {@code null}.
*/
public DNIdentity(final DN dn) {
super(dn.toString());
this.dn = dn;
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Appends a string representation of this DN to the provided buffer.
*
* @param buffer The buffer to which to append the string representation of
* this DN.
*/
public void toString(final StringBuilder buffer)
{
toString(buffer, false);
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Specifies the base DN for this search request.
*
* @param baseDN The base DN for this search request. It must not be
* {@code null}.
*/
public void setBaseDN(final DN baseDN)
{
ensureNotNull(baseDN);
this.baseDN = baseDN.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Specifies the DN of the entry in which the comparison is to be performed.
*
* @param dn The DN of the entry in which the comparison is to be performed.
* It must not be {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Creates a search request containing the base DN, scope, filter, and
* requested attributes from this LDAP URL.
*
* @return The search request created from the base DN, scope, filter, and
* requested attributes from this LDAP URL.
*/
public SearchRequest toSearchRequest()
{
return new SearchRequest(baseDN.toString(), scope, filter, attributes);
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Specifies the base DN for this search request.
*
* @param baseDN The base DN for this search request. It must not be
* {@code null}.
*/
public void setBaseDN(final DN baseDN)
{
ensureNotNull(baseDN);
this.baseDN = baseDN.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Creates a new delete request with the provided DN.
*
* @param dn The DN of the entry to delete. It must not be {@code null}.
*/
public DeleteRequest(final DN dn)
{
super(null);
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Specifies the current DN of the entry to move/rename.
*
* @param dn The current DN of the entry to move/rename. It must not be
* {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Specifies the DN of the entry to delete.
*
* @param dn The DN of the entry to delete. It must not be {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Specifies the DN for this add request.
*
* @param dn The DN for this add request. It must not be {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Specifies the DN of the entry in which the comparison is to be performed.
*
* @param dn The DN of the entry in which the comparison is to be performed.
* It must not be {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Specifies the DN for this add request.
*
* @param dn The DN for this add request. It must not be {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Specifies the DN for this entry.
*
* @param dn The DN for this entry. It must not be {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
parsedDN = dn;
this.dn = parsedDN.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Creates a search request containing the base DN, scope, filter, and
* requested attributes from this LDAP URL.
*
* @return The search request created from the base DN, scope, filter, and
* requested attributes from this LDAP URL.
*/
public SearchRequest toSearchRequest()
{
return new SearchRequest(baseDN.toString(), scope, filter, attributes);
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Specifies the DN for this entry.
*
* @param dn The DN for this entry. It must not be {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
parsedDN = dn;
this.dn = parsedDN.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Specifies the DN of the entry to modify.
*
* @param dn The DN of the entry to modify. It must not be {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Creates a new delete request with the provided DN.
*
* @param dn The DN of the entry to delete. It must not be {@code null}.
*/
public DeleteRequest(final DN dn)
{
super(null);
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Specifies the DN of the entry to delete.
*
* @param dn The DN of the entry to delete. It must not be {@code null}.
*/
public void setDN(final DN dn)
{
ensureNotNull(dn);
this.dn = dn.toString();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* {@inheritDoc}
*/
public void doPostDeleteProcessing(final DN entryDN)
{
wrapOut(0, 79, INFO_MOVE_SUBTREE_DELETE_SUCCESSFUL.get(entryDN.toString()));
}
内容来源于网络,如有侵权,请联系作者删除!