Class RegexUrlParser

  • All Implemented Interfaces:
    UrlParser

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

      • URL_PATTERN

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

      • RegexUrlParser

        public RegexUrlParser()
    • Method Detail

      • 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