程序包 org.springframework.core.io.support
Support classes for Spring's resource abstraction. Includes a ResourcePatternResolver mechanism.
接口概要 接口 说明 PropertySourceFactory Strategy interface for creating resource-basedPropertySource
wrappers.ResourcePatternResolver Strategy interface for resolving a location pattern (for example, an Ant-style path pattern) into Resource objects.类概要 类 说明 DefaultPropertySourceFactory The default implementation forPropertySourceFactory
, wrapping every resource in aResourcePropertySource
.EncodedResource Holder that combines aResource
descriptor with a specific encoding orCharset
to be used for reading from the resource.LocalizedResourceHelper Helper class for loading a localized resource, specified through name, extension and current locale.PathMatchingResourcePatternResolver AResourcePatternResolver
implementation that is able to resolve a specified resource location path into one or more matching Resources.PropertiesLoaderSupport Base class for JavaBean-style components that need to load properties from one or more resources.PropertiesLoaderUtils Convenient utility methods for loading ofjava.util.Properties
, performing standard handling of input streams.ResourceArrayPropertyEditor Editor forResource
arrays, to automatically convertString
location patterns (e.g.ResourcePatternUtils Utility class for determining whether a given URL is a resource location that can be loaded via aResourcePatternResolver
.ResourcePropertySource Subclass ofPropertiesPropertySource
that loads aProperties
object from a givenResource
or resource location such as"classpath:/com/myco/foo.properties"
or"file:/path/to/file.xml"
.ResourceRegion SpringFactoriesLoader General purpose factory loading mechanism for internal use within the framework.