question: public static URL makeURL ( Object path , String defaultProtocol ) { try { URL url = makeURL ( path ) ; if ( url == null && ! WWUtil . isEmpty ( path . toString ( ) ) && ! WWUtil . isEmpty ( defaultProtocol ) ) url = new URL ( defaultProtocol , null , path . toString ( ) ) ; return url ; } catch ( Exception e ) { return null ; } }
target:  Creates a URL from an object. If the object does not already convert directly to a URL, a URL with a specified protocol is created.