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

Method getURL

output/java/1.4.12/STGroup.java:792–801  ·  view source on GitHub ↗
(String fileName)

Source from the content-addressed store, hash-verified

790 }
791
792 public URL getURL(String fileName) {
793 URL url;
794 ClassLoader cl = Thread.currentThread().getContextClassLoader();
795 url = cl.getResource(fileName);
796 if ( url==null ) {
797 cl = this.getClass().getClassLoader();
798 url = cl.getResource(fileName);
799 }
800 return url;
801 }
802
803 @Override
804 public String toString() {

Callers 2

STGroupFileMethod · 0.45
importTemplatesMethod · 0.45

Calls 1

getResourceMethod · 0.45

Tested by

no test coverage detected