Example usage for org.springframework.scripting ScriptSource interface-usage

List of usage examples for org.springframework.scripting ScriptSource interface-usage

Introduction

In this page you can find the example usage for org.springframework.scripting ScriptSource interface-usage.

Usage

From source file org.springframework.scripting.support.ResourceScriptSource.java

/**
 * {@link org.springframework.scripting.ScriptSource} implementation
 * based on Spring's {@link org.springframework.core.io.Resource}
 * abstraction. Loads the script text from the underlying Resource's
 * {@link org.springframework.core.io.Resource#getFile() File} or
 * {@link org.springframework.core.io.Resource#getInputStream() InputStream},