Tabnine Logo
DN.explodeDN
Code IndexAdd Tabnine to your IDE (free)

How to use
explodeDN
method
in
com.novell.ldap.util.DN

Best Java code snippets using com.novell.ldap.util.DN.explodeDN (Showing top 2 results out of 315)

origin: com.novell.ldap/jldap

/**
* Returns the individual components of a distinguished name (DN).
*
* @param dn        The distinguished name, for example, "cn=Babs
*                  Jensen,ou=Accounting,o=Acme,c=US"
*<br><br>
* @param noTypes   If true, returns only the values of the
*                  components and not the names.  For example, "Babs
*                  Jensen", "Accounting", "Acme", "US" instead of
*                  "cn=Babs Jensen", "ou=Accounting", "o=Acme", and
*                  "c=US".
*
* @return An array of strings representing the individual components
* of a DN, or null if the DN is not valid.
*/
public static String[] explodeDN(String dn, boolean noTypes) {
  DN dnToExplode = new DN(dn);
  return dnToExplode.explodeDN(noTypes);
}
origin: com.novell.ldap/jldap

  throw new LDAPException("Could not determine type",53, e1.toString(), e1);
id.setId(dn.explodeDN(true)[0]);
com.novell.ldap.utilDNexplodeDN

Javadoc

return a string array of the individual RDNs contained in the DN

Popular methods of DN

  • <init>
    Constructs a new DN based on the specified string representation of a distinguished name. The syntax
  • getRDNs
    Retrieves a list of RDN Objects, or individual names of the DN
  • equals
    Compares this DN to the specified DN to determine if they are equal.
  • getParent
    Returns the Parent of this DN
  • hexToChar
    Converts two valid hex digit characters that form the string representation of an ascii character va
  • isAlpha
    Checks a character to see if it is an ascii alphabetic character in ranges 65-90 or 97-122.
  • isDigit
    Checks a character to see if it is an ascii digit (0-9) character in the ascii value range 48-57.
  • isHexDigit
    Checks a character to see if it is valid hex digit 0-9, a-f, or A-F (ASCII value ranges 48-47, 65-70
  • needsEscape
    Checks a character to see if it must always be escaped in the string representation of a DN. We must
  • toString
    Creates and returns a string that represents this DN. The string follows RFC 2253, which describes S

Popular in Java

  • Making http requests using okhttp
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • startActivity (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now