org.springframework.core.io.support |
Support classes for Spring's resource abstraction.
Includes a ResourcePatternResolver mechanism.
|
Java Source File Name | Type | Comment |
EncodedResource.java | Class | Holder that combines a Resource with an encoding. |
LocalizedResourceHelper.java | Class | Helper class for loading a localized resource,
specified through name, extension and current locale. |
PathMatchingResourcePatternResolver.java | Class | A
ResourcePatternResolver implementation that is able to resolve a
specified resource location path into one or more matching Resources.
The source path may be a simple path which has a one-to-one mapping to a
target
org.springframework.core.io.Resource , or alternatively
may contain the special "classpath*: " prefix and/or
internal Ant-style regular expressions (matched using Spring's
org.springframework.util.AntPathMatcher utility).
Both of the latter are effectively wildcards.
No Wildcards:
In the simple case, if the specified location path does not start with the
"classpath*: " prefix, and does not contain a PathMatcher pattern,
this resolver will simply return a single resource via a
getResource() call on the underlying ResourceLoader .
Examples are real URLs such as "file:C:/context.xml ", pseudo-URLs
such as "classpath:/context.xml ", and simple unprefixed paths
such as "/WEB-INF/context.xml ". |
PropertiesLoaderSupport.java | Class | Base class for JavaBean-style components that need to load properties
from one or more resources. |
PropertiesLoaderUtils.java | Class | Convenient utility methods for loading of java.util.Properties ,
performing standard handling of input streams. |
ResourceArrayPropertyEditor.java | Class | Editor for
org.springframework.core.io.Resource arrays, to
automatically convert String location patterns
(e.g. |
ResourcePatternResolver.java | Interface | Strategy interface for resolving a location pattern (for example,
an Ant-style path pattern) into Resource objects.
This is an extension to the
org.springframework.core.io.ResourceLoader interface. |
ResourcePatternUtils.java | Class | Utility class for determining whether a given URL is a resource
location that can be loaded via a ResourcePatternResolver. |