[Java] Interface GroovyResourceLoader

Allows frameworks that integrate with Groovy to determine how Groovy files are resolved.

Authors:
Steven Devijver

Methods Summary

Methods
Type Params Return Type Name and description
URL loadGroovySource(String filename)
Loads a Groovy source file given its name.

Method Detail

public URL loadGroovySource(String filename)

Loads a Groovy source file given its name.

throws:
java.net.MalformedURLException if the URL is invalid
Parameters:
filename - name of the file
Returns:
a URL

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/lang/GroovyResourceLoader.html