@Test public void test_makeURL() { String urlString; try { urlString = URLUtil.makeURL(url).toString(); } catch (RdapClientException e) { urlString = null; } assertEquals(url, urlString); }
public static URL makeURL(String url) throws RdapClientException { try { return new URL(url); } catch (MalformedURLException e) { throw new RdapClientException(e.getMessage()); } }
URLUtil { public static URL makeURL(String url) throws RdapClientException { try { return new URL(url); } catch (MalformedURLException e) { throw new RdapClientException(e.getMessage()); } } }
URLUtil { public static URL makeURL(String url) throws RdapClientException { try { return new URL(url); } catch (MalformedURLException e) { throw new RdapClientException(e.getMessage()); } } private  URLUtil(); }
URLUtil { public static URL makeURL(String url) throws RdapClientException { try { return new URL(url); } catch (MalformedURLException e) { throw new RdapClientException(e.getMessage()); } } private  URLUtil(); static URL makeURL(String url); static URL makeURLWithPath(String url, String... path); static URL makeURLWithPath(String url, List<String> path); static URL makeURLWithParam(String url, Map<String, String> param); static URL makeURLWithPathAndParam(String url,
            Map<String, String> param, String... path); static URL makeURLWithPathAndParam(String url,
            Map<String, String> param, List<String> path); static boolean isHttps(URL url); }
URLUtil { public static URL makeURL(String url) throws RdapClientException { try { return new URL(url); } catch (MalformedURLException e) { throw new RdapClientException(e.getMessage()); } } private  URLUtil(); static URL makeURL(String url); static URL makeURLWithPath(String url, String... path); static URL makeURLWithPath(String url, List<String> path); static URL makeURLWithParam(String url, Map<String, String> param); static URL makeURLWithPathAndParam(String url,
            Map<String, String> param, String... path); static URL makeURLWithPathAndParam(String url,
            Map<String, String> param, List<String> path); static boolean isHttps(URL url);  }