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

Method getURL

output/java/1.4.15/STGroup.java:806–815  ·  view source on GitHub ↗
(String fileName)

Source from the content-addressed store, hash-verified

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

Callers 2

STGroupFileMethod · 0.45
importTemplatesMethod · 0.45

Calls 1

getResourceMethod · 0.45

Tested by

no test coverage detected