Package | Description |
---|---|
org.springframework.core.io |
Generic abstraction for (file-based) resources, used throughout the framework.
|
org.springframework.core.io.support |
Support classes for Spring's resource abstraction.
|
org.springframework.core.type.classreading |
Support classes for reading annotation and class-level metadata.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassRelativeResourceLoader
ResourceLoader implementation that interprets plain resource paths
as relative to a given java.lang.Class . |
class |
DefaultResourceLoader
Default implementation of the
ResourceLoader interface. |
class |
FileSystemResourceLoader
ResourceLoader implementation that resolves plain paths as
file system resources rather than as class path resources
(the latter is DefaultResourceLoader 's default strategy). |
Modifier and Type | Method and Description |
---|---|
Resource |
ProtocolResolver.resolve(String location,
ResourceLoader resourceLoader)
Resolve the given location against the given resource loader
if this implementation's protocol matches.
|
Constructor and Description |
---|
ResourceEditor(ResourceLoader resourceLoader,
PropertyResolver propertyResolver)
Create a new instance of the
ResourceEditor class
using the given ResourceLoader and PropertyResolver . |
ResourceEditor(ResourceLoader resourceLoader,
PropertyResolver propertyResolver,
boolean ignoreUnresolvablePlaceholders)
Create a new instance of the
ResourceEditor class
using the given ResourceLoader . |
Modifier and Type | Interface and Description |
---|---|
interface |
ResourcePatternResolver
Strategy interface for resolving a location pattern (for example,
an Ant-style path pattern) into Resource objects.
|
Modifier and Type | Class and Description |
---|---|
class |
PathMatchingResourcePatternResolver
A
ResourcePatternResolver implementation that is able to resolve a
specified resource location path into one or more matching Resources. |
Modifier and Type | Method and Description |
---|---|
ResourceLoader |
PathMatchingResourcePatternResolver.getResourceLoader()
Return the ResourceLoader that this pattern resolver works with.
|
Modifier and Type | Method and Description |
---|---|
static ResourcePatternResolver |
ResourcePatternUtils.getResourcePatternResolver(ResourceLoader resourceLoader)
Return a default
ResourcePatternResolver for the given ResourceLoader . |
Constructor and Description |
---|
LocalizedResourceHelper(ResourceLoader resourceLoader)
Create a new LocalizedResourceHelper with the given ResourceLoader.
|
PathMatchingResourcePatternResolver(ResourceLoader resourceLoader)
Create a new PathMatchingResourcePatternResolver.
|
Modifier and Type | Method and Description |
---|---|
ResourceLoader |
SimpleMetadataReaderFactory.getResourceLoader()
Return the ResourceLoader that this MetadataReaderFactory has been
constructed with.
|
Constructor and Description |
---|
CachingMetadataReaderFactory(ResourceLoader resourceLoader)
Create a new CachingMetadataReaderFactory for the given
ResourceLoader ,
using a shared resource cache if supported or a local resource cache otherwise. |
SimpleMetadataReaderFactory(ResourceLoader resourceLoader)
Create a new SimpleMetadataReaderFactory for the given resource loader.
|