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 .