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

Method getResourceAsStream

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

Source from the content-addressed store, hash-verified

168 }
169
170 public InputStream getResourceAsStream(String path) {
171 URL url = getResource(path);
172 try {
173 return (url == null ? null : url.openStream());
174 } catch (IOException e) {
175 return null;
176 }
177 }
178
179 public static URL getSystemResource(String path) {
180 return getSystemClassLoader().getResource(path);

Callers 1

Calls 2

getResourceMethod · 0.95
openStreamMethod · 0.95

Tested by

no test coverage detected