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

Method getResource

classpath/java/lang/ClassLoader.java:157–168  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

155 }
156
157 public URL getResource(String path) {
158 URL url = null;
159 if (parent != null) {
160 url = parent.getResource(path);
161 }
162
163 if (url == null) {
164 url = findResource(path);
165 }
166
167 return url;
168 }
169
170 public InputStream getResourceAsStream(String path) {
171 URL url = getResource(path);

Callers 3

getResourceMethod · 0.95
getResourceAsStreamMethod · 0.95
getSystemResourceMethod · 0.45

Calls 1

findResourceMethod · 0.95

Tested by

no test coverage detected