@Test public void testToURL() throws Exception { assertNotNull(toURL("./config/jetty.xml")); assertNotNull(toURL("file: assertNotNull(toURL("file: assertNotNull(toURL("file: assertNotNull(toURL("\\absolute\\path\\to\\jetty.xml")); assertNotNull(toURL("https: assertNotNull(toURL(JettyServerManager.DEFAULT_JETTY_XML)); }
public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); }
ResourceLocator { public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); } }
ResourceLocator { public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); }  }
ResourceLocator { public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); }  static URL toURL(String s); }
ResourceLocator { public static URL toURL(String s) throws Exception { URI configuredUri = toURI(s); return isLocal(configuredUri) ? localResource(configuredUri) : new URL(configuredUri.toString()); }  static URL toURL(String s);  }