Uses of Class
org.springframework.core.io.support.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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionint
XmlBeanDefinitionReader.loadBeanDefinitions
(EncodedResource encodedResource) Load bean definitions from the specified XML file. -
Uses of EncodedResource in org.springframework.core.io.support
Modifier 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.ModifierConstructorDescriptionResourcePropertySource
(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
Modifier 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.ModifierConstructorDescriptionCannotReadScriptException
(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
Modifier 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.ModifierConstructorDescriptionCannotReadScriptException
(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
ModifierConstructorDescriptionResourceScriptSource
(EncodedResource resource) Create a new ResourceScriptSource for the given resource.