Package groovy.lang
Interface GroovyResourceLoader
public interface GroovyResourceLoader
Allows frameworks that integrate with Groovy to determine how Groovy files are resolved.
- 
Method SummaryModifier and Type Method Description java.net.URLloadGroovySource(java.lang.String filename)Loads a Groovy source file given its name.
- 
Method Details- 
loadGroovySourcejava.net.URL loadGroovySource(java.lang.String filename) throws java.net.MalformedURLExceptionLoads a Groovy source file given its name.- Parameters:
- filename- name of the file
- Returns:
- a URL
- Throws:
- java.net.MalformedURLException- if the URL is invalid
 
 
-