code: public static URI toURI(URL url) throws UtilException {
  		if (null == url) {
  			return null;
  		}
  		try {
  			return url.toURI();
  		} catch (URISyntaxException e) {
  			throw new UtilException(e);
  		}
  	}
docs: 转URL为URI
  
  @param url URL
  @return URI
  @exception UtilException 包装URISyntaxException