Top Description Methods
groovy.lang

public Interface GroovyResourceLoader

Imports
java.net.MalformedURLException, .URL

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

Method Summary

Modifier and TypeMethod and Description
public URL

Returns:

a URL
loadGroovySource
(String
name of the file
filename
)

Loads a Groovy source file given its name.

Method Detail

loadGroovySourceback to summary
public URL loadGroovySource(String filename) throws MalformedURLException

Loads a Groovy source file given its name.

Parameters
filename:String

name of the file

Returns:URL

a URL

Exceptions
MalformedURLException:
if the URL is invalid