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

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

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

origin: com.novell.ldap/jldap

/**
* Compares the two strings per the distinguishedNameMatch equality matching
* (using case-ignore matching).  IllegalArgumentException is thrown if one
* or both DNs are invalid.  UnsupportedOpersationException is thrown if the
* API implementation is not able to detemine if the DNs match or not.
*
*  @param dn1            String form of the first DN to compare.
*<br><br>
*  @param dn2            String form of the second DN to compare.
*
* @return Returns true if the two strings correspond to the same DN; false
*         if the DNs are different.
*/
public static boolean equals (String dn1, String dn2) {
  DN dnA = new DN(dn1);
  DN dnB = new DN(dn2);
  return dnA.equals(dnB);
}
com.novell.ldap.utilDNequals

Javadoc

Compares this DN to the specified DN to determine if they are equal.

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
  • explodeDN
    return a string array of the individual RDNs contained in the DN
  • 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 12 Jupyter Notebook extensions
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