GroovyResourceLoader (Groovy 5.0.0)
Description: declaration: package: groovy.lang, interface: GroovyResourceLoader

Package groovy.lang

# Interface GroovyResourceLoader

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `URL`
  `loadGroovySource(String filename)`
  Loads a Groovy source file given its name.

- ## Method Details

  - ### loadGroovySource

    URL loadGroovySource(String filename) throws MalformedURLException
    Loads a Groovy source file given its name.
    Parameters:
      `filename` - name of the file
    Returns:
      a URL
    Throws:
      `MalformedURLException` - if the URL is invalid