Uses of Class
org.springframework.core.io.support.EncodedResource
Packages that use EncodedResource
Package
Description
Support package for Groovy-based bean definitions.
Classes supporting the
org.springframework.beans.factory
package.Contains an abstract XML-based
BeanFactory
implementation,
including a standard "spring-beans" XSD.Support classes for Spring's resource abstraction.
Provides extensible support for initializing databases through scripts.
Provides extensible support for initializing databases through scripts.
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 EncodedResourceModifier and TypeMethodDescriptionint
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 EncodedResourceModifier and TypeMethodDescriptionint
PropertiesBeanDefinitionReader.loadBeanDefinitions
(EncodedResource encodedResource) Deprecated.Load bean definitions from the specified properties file.int
PropertiesBeanDefinitionReader.loadBeanDefinitions
(EncodedResource encodedResource, String prefix) Deprecated.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 EncodedResourceModifier and TypeMethodDescriptionint
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 EncodedResourceModifier and TypeMethodDescriptionDefaultPropertySourceFactory.createPropertySource
(String name, EncodedResource resource) 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 EncodedResourceModifierConstructorDescriptionResourcePropertySource
(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 EncodedResourceModifier and TypeMethodDescriptionstatic 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) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.static void
ScriptUtils.splitSqlScript
(EncodedResource resource, String script, String separator, String commentPrefix, String blockCommentStartDelimiter, String blockCommentEndDelimiter, List<String> statements) Deprecated.as of Spring Framework 5.2.16 with no plans for replacement.Constructors in org.springframework.jdbc.datasource.init with parameters of type EncodedResourceModifierConstructorDescriptionCannotReadScriptException
(EncodedResource resource, Throwable cause) Create a newCannotReadScriptException
.ScriptParseException
(String message, EncodedResource resource) Create a newScriptParseException
.ScriptParseException
(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException
.ScriptStatementFailedException
(String stmt, int stmtNumber, EncodedResource encodedResource, Throwable cause) Construct a newScriptStatementFailedException
. -
Uses of EncodedResource in org.springframework.r2dbc.connection.init
Methods in org.springframework.r2dbc.connection.init with parameters of type EncodedResourceModifier and TypeMethodDescriptionstatic 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 reactor.core.publisher.Mono<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 reactor.core.publisher.Mono<Void>
ScriptUtils.executeSqlScript
(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, String[] commentPrefixes, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.static reactor.core.publisher.Mono<Void>
ScriptUtils.executeSqlScript
(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, String commentPrefix, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.Constructors in org.springframework.r2dbc.connection.init with parameters of type EncodedResourceModifierConstructorDescriptionCannotReadScriptException
(EncodedResource resource, Throwable cause) Create a newCannotReadScriptException
.ScriptParseException
(String message, EncodedResource resource) Create a newScriptParseException
.ScriptParseException
(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException
.ScriptStatementFailedException
(String stmt, int stmtNumber, EncodedResource encodedResource, Throwable cause) Create a newScriptStatementFailedException
. -
Uses of EncodedResource in org.springframework.scripting.support
Constructors in org.springframework.scripting.support with parameters of type EncodedResourceModifierConstructorDescriptionResourceScriptSource
(EncodedResource resource) Create a new ResourceScriptSource for the given resource.