Class TelephoneNumberComparator

All Implemented Interfaces:
Serializable, Comparator<String>, SchemaObject

public class TelephoneNumberComparator extends LdapComparator<String>
A comparator for TelephoneNumber. The rules for matching are identical to those for caseIgnoreMatch, except that all space and "-" characters are skipped during the comparison.
Author:
Apache Directory Project
See Also:
  • Constructor Details

    • TelephoneNumberComparator

      public TelephoneNumberComparator(String oid)
      The TelephoneNumberComparator constructor. Its OID is the TelephoneNumberMatch matching rule OID.
      Parameters:
      oid - The Comparator's OID
  • Method Details

    • compare

      public int compare(String telephoneNumber1, String telephoneNumber2)