Class RegexUrlParser

java.lang.Object
org.ldaptive.url.RegexUrlParser
All Implemented Interfaces:
UrlParser

public final class RegexUrlParser extends Object implements UrlParser
Parses an LDAP URL string using a regular expression.
  • Field Details

    • URL_PATTERN

      private static final Pattern URL_PATTERN
      Pattern to match LDAP URL.
  • Constructor Details

    • RegexUrlParser

      public RegexUrlParser()
  • Method Details

    • parse

      public Url parse(String url)
      Description copied from interface: UrlParser
      Parses the supplied URL into a Url.
      Specified by:
      parse in interface UrlParser
      Parameters:
      url - to parse
      Returns:
      LdapURL object