src/main/java/io/opentracing/contrib/jdbc/parser/URLParser.java
public static void registerConnectionParser(String urlPrefix, ConnectionURLParser parser) {
    if (null == urlPrefix || parser == null) {
      throw new IllegalArgumentException("urlPrefix and parser can not be null");
    }
    parserRegister.put(urlPrefix.toLowerCase(), parser);
  }
public static void registerConnectionParser(String urlPrefix, ConnectionURLParser parser) {
    if (null == urlPrefix || parser == null) {
      throw new IllegalArgumentException("urlPrefix and parser can not be null");
    }
    parserRegister.put(urlPrefix.toLowerCase(), parser);
  }
public static void registerConnectionParser ( String urlPrefix , ConnectionURLParser parser ) { if ( null == urlPrefix || parser == null ) { throw new IllegalArgumentException ( "urlPrefix and parser can not be null" ) ; } parserRegister . put ( urlPrefix . toLowerCase ( ) , parser ) ; }
register new ConnectionURLParser. Can override existing parser.
register new ConnectionURLParser . Can override existing parser .