[Java] Interface ResourceConnector

Base interface for customizing where resources can be found for the GroovyScriptEngine.

Methods Summary

Methods
Type Params Return Type Name and description
URLConnection getResourceConnection(String name)
Retrieve a URLConnection to a script referenced by name.

Method Detail

public URLConnection getResourceConnection(String name)

Retrieve a URLConnection to a script referenced by name.

throws:
ResourceException
Parameters:
name

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