MCPcopy Create free account
hub / github.com/ReadyTalk/avian / getResource

Method getResource

classpath/java/net/URLClassLoader.java:58–64  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

56 }
57
58 public URL getResource(String path) {
59 try {
60 return new URL("jar:file:" + jarFile.getAbsolutePath() + "!/" + path);
61 } catch(MalformedURLException e) {
62 throw new RuntimeException(e);
63 }
64 }
65
66
67}

Callers

nothing calls this directly

Calls 1

getAbsolutePathMethod · 0.80

Tested by

no test coverage detected