[Java] Interface ResourceConnector
public interface ResourceConnector
Base interface for customizing where resources can be found for the GroovyScriptEngine
.
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public 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/3.0.7/html/gapi/groovy/util/ResourceConnector.html