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

Method getURL

output/java/1.4.14/STGroup.java:805–814  ·  view source on GitHub ↗
(String fileName)

Source from the content-addressed store, hash-verified

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

Callers 2

STGroupFileMethod · 0.45
importTemplatesMethod · 0.45

Calls 1

getResourceMethod · 0.45

Tested by

no test coverage detected