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 TypeMethodDescriptionintGroovyBeanDefinitionReader.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 TypeMethodDescriptionintPropertiesBeanDefinitionReader.loadBeanDefinitions(EncodedResource encodedResource) Deprecated.Load bean definitions from the specified properties file.intPropertiesBeanDefinitionReader.loadBeanDefinitions(EncodedResource encodedResource, @Nullable 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 TypeMethodDescriptionintXmlBeanDefinitionReader.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(@Nullable String name, EncodedResource resource) PropertySourceFactory.createPropertySource(@Nullable String name, EncodedResource resource) Create aPropertySourcethat wraps the given resource.static voidPropertiesLoaderUtils.fillProperties(Properties props, EncodedResource resource) Fill the given properties from the given EncodedResource, potentially defining a specific encoding for the properties file.static PropertiesPropertiesLoaderUtils.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 StringScriptStatementFailedException.buildErrorMessage(String stmt, int stmtNumber, EncodedResource encodedResource) Build an error message for an SQL script execution failure, based on the supplied arguments.static voidScriptUtils.executeSqlScript(Connection connection, EncodedResource resource) Execute the given SQL script using default settings for statement separators, comment delimiters, and exception handling flags.static voidScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String[] commentPrefixes, @Nullable String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.static voidScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String commentPrefix, @Nullable String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.Constructors in org.springframework.jdbc.datasource.init with parameters of type EncodedResourceModifierConstructorDescriptionCannotReadScriptException(EncodedResource resource, Throwable cause) Create a newCannotReadScriptException.ScriptParseException(String message, @Nullable EncodedResource resource) Create a newScriptParseException.ScriptParseException(String message, @Nullable EncodedResource resource, @Nullable 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 StringScriptStatementFailedException.buildErrorMessage(String stmt, int stmtNumber, EncodedResource encodedResource) Build an error message for an SQL script execution failure, based on the supplied arguments.ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource) Execute the given SQL script using default settings for statement separators, comment delimiters, and exception handling flags.ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, String[] commentPrefixes, @Nullable String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, String commentPrefix, @Nullable 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, @Nullable EncodedResource resource) Create a newScriptParseException.ScriptParseException(String message, @Nullable EncodedResource resource, @Nullable 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.