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

Method getURL

output/java8/1.4.14/STGroup.java:802–811  ·  view source on GitHub ↗
(String fileName)

Source from the content-addressed store, hash-verified

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

Callers 2

STGroupFileMethod · 0.45
importTemplatesMethod · 0.45

Calls 1

getResourceMethod · 0.45

Tested by

no test coverage detected