public URLStreamHandler createURLStreamHandler ( String protocol ) { Class < ? extends URLStreamHandler > handler = _handlers . get ( protocol . toLowerCase ( ) ) ; if ( handler != null ) { try { return handler . newInstance ( ) ; } catch ( Exception e ) { log . warning ( "Unable to instantiate URLStreamHandler" , "protocol" , protocol , "cause" , e ) ; } } return null ; }
documentation inherited from interface URLStreamHandlerFactory