MCPcopy Create free account
hub / github.com/antlr/codebuff / getURL

Method getURL

output/java8/1.4.15/STGroup.java:803–812  ·  view source on GitHub ↗
(String fileName)

Source from the content-addressed store, hash-verified

801 }
802
803 public URL getURL(String fileName) {
804 URL url;
805 ClassLoader cl = Thread.currentThread().getContextClassLoader();
806 url = cl.getResource(fileName);
807 if ( url==null ) {
808 cl = this.getClass().getClassLoader();
809 url = cl.getResource(fileName);
810 }
811 return url;
812 }
813
814 @Override
815 public String toString() {

Callers 2

STGroupFileMethod · 0.45
importTemplatesMethod · 0.45

Calls 1

getResourceMethod · 0.45

Tested by

no test coverage detected