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

Method getURL

output/java8/1.4.13/STGroup.java:782–791  ·  view source on GitHub ↗
(String fileName)

Source from the content-addressed store, hash-verified

780 }
781
782 public URL getURL(String fileName) {
783 URL url;
784 ClassLoader cl = Thread.currentThread().getContextClassLoader();
785 url = cl.getResource(fileName);
786 if ( url==null ) {
787 cl = this.getClass().getClassLoader();
788 url = cl.getResource(fileName);
789 }
790 return url;
791 }
792
793 @Override
794 public String toString() {

Callers 2

STGroupFileMethod · 0.45
importTemplatesMethod · 0.45

Calls 1

getResourceMethod · 0.45

Tested by

no test coverage detected