Uses of Class
org.springframework.core.io.support.EncodedResource
Packages that use EncodedResource Package Description org.springframework.beans.factory.groovy Support package for Groovy-based bean definitions.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factory
package.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
implementation, including a standard "spring-beans" XSD.org.springframework.core.io.support Support classes for Spring's resource abstraction.org.springframework.jdbc.datasource.init Provides extensible support for initializing databases through scripts.org.springframework.scripting.support Support classes for Spring's scripting package.Uses of EncodedResource in org.springframework.beans.factory.groovy
Methods in org.springframework.beans.factory.groovy with parameters of type EncodedResource Modifier and Type Method Description int
GroovyBeanDefinitionReader. loadBeanDefinitions(EncodedResource encodedResource)
Load bean definitions from the specified Groovy script or XML file.Uses of EncodedResource in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support with parameters of type EncodedResource Modifier and Type Method Description int
PropertiesBeanDefinitionReader. loadBeanDefinitions(EncodedResource encodedResource)
Load bean definitions from the specified properties file.int
PropertiesBeanDefinitionReader. loadBeanDefinitions(EncodedResource encodedResource, String prefix)
Load bean definitions from the specified properties file.Uses of EncodedResource in org.springframework.beans.factory.xml
Methods in org.springframework.beans.factory.xml with parameters of type EncodedResource Modifier and Type Method Description int
XmlBeanDefinitionReader. loadBeanDefinitions(EncodedResource encodedResource)
Load bean definitions from the specified XML file.Uses of EncodedResource in org.springframework.core.io.support
Methods in org.springframework.core.io.support with parameters of type EncodedResource Modifier and Type Method Description PropertySource<?>
DefaultPropertySourceFactory. createPropertySource(String name, EncodedResource resource)
PropertySource<?>
PropertySourceFactory. createPropertySource(String name, EncodedResource resource)
Create aPropertySource
that wraps the given resource.static void
PropertiesLoaderUtils. fillProperties(Properties props, EncodedResource resource)
Fill the given properties from the given EncodedResource, potentially defining a specific encoding for the properties file.static Properties
PropertiesLoaderUtils. loadProperties(EncodedResource resource)
Load properties from the given EncodedResource, potentially defining a specific encoding for the properties file.Constructors in org.springframework.core.io.support with parameters of type EncodedResource Constructor Description ResourcePropertySource(String name, EncodedResource resource)
Create a PropertySource having the given name based on Properties loaded from the given encoded resource.ResourcePropertySource(EncodedResource resource)
Create a PropertySource based on Properties loaded from the given resource.Uses of EncodedResource in org.springframework.jdbc.datasource.init
Methods in org.springframework.jdbc.datasource.init with parameters of type EncodedResource Modifier and Type Method Description static String
ScriptStatementFailedException. buildErrorMessage(String stmt, int stmtNumber, EncodedResource encodedResource)
Build an error message for an SQL script execution failure, based on the supplied arguments.static void
ScriptUtils. executeSqlScript(Connection connection, EncodedResource resource)
Execute the given SQL script using default settings for statement separators, comment delimiters, and exception handling flags.static void
ScriptUtils. executeSqlScript(Connection connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String[] commentPrefixes, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter)
Execute the given SQL script.static void
ScriptUtils. executeSqlScript(Connection connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String commentPrefix, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter)
Execute the given SQL script.static void
ScriptUtils. splitSqlScript(EncodedResource resource, String script, String separator, String[] commentPrefixes, String blockCommentStartDelimiter, String blockCommentEndDelimiter, List<String> statements)
Split an SQL script into separate statements delimited by the provided separator string.static void
ScriptUtils. splitSqlScript(EncodedResource resource, String script, String separator, String commentPrefix, String blockCommentStartDelimiter, String blockCommentEndDelimiter, List<String> statements)
Split an SQL script into separate statements delimited by the provided separator string.Constructors in org.springframework.jdbc.datasource.init with parameters of type EncodedResource Constructor Description CannotReadScriptException(EncodedResource resource, Throwable cause)
Construct a newCannotReadScriptException
.ScriptParseException(String message, EncodedResource resource)
Construct a newScriptParseException
.ScriptParseException(String message, EncodedResource resource, Throwable cause)
Construct a newScriptParseException
.ScriptStatementFailedException(String stmt, int stmtNumber, EncodedResource encodedResource, Throwable cause)
Construct a newScriptStatementFailedException
.Uses of EncodedResource in org.springframework.scripting.support
Constructors in org.springframework.scripting.support with parameters of type EncodedResource Constructor Description ResourceScriptSource(EncodedResource resource)
Create a new ResourceScriptSource for the given resource.