@Test public void createSmithyManifestUrlFromJarUrl() throws IOException { assertThat(ModelDiscovery.createSmithyJarManifestUrl("jar:file:/foo.jar"), equalTo(new URL("jar:file:/foo.jar!/META-INF/smithy/manifest"))); }
public static URL createSmithyJarManifestUrl(String fileOrUrl) { try { return new URL(getFilenameWithScheme(fileOrUrl) + "!/" + MANIFEST_PATH); } catch (IOException e) { throw new ModelImportException(e.getMessage(), e); } }
ModelDiscovery { public static URL createSmithyJarManifestUrl(String fileOrUrl) { try { return new URL(getFilenameWithScheme(fileOrUrl) + "!/" + MANIFEST_PATH); } catch (IOException e) { throw new ModelImportException(e.getMessage(), e); } } }
ModelDiscovery { public static URL createSmithyJarManifestUrl(String fileOrUrl) { try { return new URL(getFilenameWithScheme(fileOrUrl) + "!/" + MANIFEST_PATH); } catch (IOException e) { throw new ModelImportException(e.getMessage(), e); } } private  ModelDiscovery(); }
ModelDiscovery { public static URL createSmithyJarManifestUrl(String fileOrUrl) { try { return new URL(getFilenameWithScheme(fileOrUrl) + "!/" + MANIFEST_PATH); } catch (IOException e) { throw new ModelImportException(e.getMessage(), e); } } private  ModelDiscovery(); static List<URL> findModels(); static List<URL> findModels(ClassLoader loader); static List<URL> findModels(URL jarManifestUrl); static String getSmithyModelPathFromJarUrl(URL modelUrl); static URL createSmithyJarManifestUrl(String fileOrUrl); }
ModelDiscovery { public static URL createSmithyJarManifestUrl(String fileOrUrl) { try { return new URL(getFilenameWithScheme(fileOrUrl) + "!/" + MANIFEST_PATH); } catch (IOException e) { throw new ModelImportException(e.getMessage(), e); } } private  ModelDiscovery(); static List<URL> findModels(); static List<URL> findModels(ClassLoader loader); static List<URL> findModels(URL jarManifestUrl); static String getSmithyModelPathFromJarUrl(URL modelUrl); static URL createSmithyJarManifestUrl(String fileOrUrl);  }