Package org.springframework.core.io.support
@NonNullApi
@NonNullFields
package org.springframework.core.io.support
Support classes for Spring's resource abstraction.
Includes a ResourcePatternResolver mechanism.
-
ClassDescriptionThe default implementation for
PropertySourceFactory, wrapping every resource in aResourcePropertySource.Holder that combines aResourcedescriptor with a specific encoding orCharsetto be used for reading from the resource.Helper class for loading a localized resource, specified through name, extension and current locale.AResourcePatternResolverimplementation that is able to resolve a specified resource location path into one or more matching Resources.Base class for JavaBean-style components that need to load properties from one or more resources.Convenient utility methods for loading ofjava.util.Properties, performing standard handling of input streams.Strategy interface for creating resource-basedPropertySourcewrappers.Editor forResourcearrays, to automatically convertStringlocation patterns (e.g.Strategy interface for resolving a location pattern (for example, an Ant-style path pattern) intoResourceobjects.Utility class for determining whether a given URL is a resource location that can be loaded via aResourcePatternResolver.Spring-aware subclass of the plainDefaultPropertiesPersister, adding a conditional check for disabled XML support through the shared "spring.xml.ignore" property.Subclass ofPropertiesPropertySourcethat loads aPropertiesobject from a givenResourceor resource location such as"classpath:/com/myco/foo.properties"or"file:/path/to/file.xml".General purpose factory loading mechanism for internal use within the framework.