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

Method findResource

classpath/avian/SystemClassLoader.java:67–75  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

65 private native String resourceURLPrefix(String name);
66
67 protected URL findResource(String name) {
68 String prefix = resourceURLPrefix(name);
69 if (prefix != null) {
70 try {
71 return new URL(prefix + name);
72 } catch (MalformedURLException ignored) { }
73 }
74 return null;
75 }
76
77 protected Package getPackage(String name) {
78 Package p = super.getPackage(name);

Callers 1

getResourceMethod · 0.95

Calls 1

resourceURLPrefixMethod · 0.95

Tested by

no test coverage detected