Uses of Interface
org.springframework.core.io.ResourceLoader
Package
Description
Generic abstraction for (file-based) resources, used throughout the framework.
Support classes for Spring's resource abstraction.
Support classes for reading annotation and class-level metadata.
-
Uses of ResourceLoader in org.springframework.core.io
Modifier and TypeClassDescriptionclass
ResourceLoader
implementation that interprets plain resource paths as relative to a givenjava.lang.Class
.class
Default implementation of theResourceLoader
interface.class
ResourceLoader
implementation that resolves plain paths as file system resources rather than as class path resources (the latter isDefaultResourceLoader
's default strategy).Modifier and TypeMethodDescriptionProtocolResolver.resolve
(String location, ResourceLoader resourceLoader) Resolve the given location against the given resource loader if this implementation's protocol matches.ModifierConstructorDescriptionResourceEditor
(ResourceLoader resourceLoader, PropertyResolver propertyResolver) Create a new instance of theResourceEditor
class using the givenResourceLoader
andPropertyResolver
.ResourceEditor
(ResourceLoader resourceLoader, PropertyResolver propertyResolver, boolean ignoreUnresolvablePlaceholders) Create a new instance of theResourceEditor
class using the givenResourceLoader
. -
Uses of ResourceLoader in org.springframework.core.io.support
Modifier and TypeInterfaceDescriptioninterface
Strategy interface for resolving a location pattern (for example, an Ant-style path pattern) intoResource
objects.Modifier and TypeClassDescriptionclass
AResourcePatternResolver
implementation that is able to resolve a specified resource location path into one or more matching Resources.Modifier and TypeMethodDescriptionPathMatchingResourcePatternResolver.getResourceLoader()
Return the ResourceLoader that this pattern resolver works with.Modifier and TypeMethodDescriptionstatic ResourcePatternResolver
ResourcePatternUtils.getResourcePatternResolver
(ResourceLoader resourceLoader) Return a defaultResourcePatternResolver
for the givenResourceLoader
.ModifierConstructorDescriptionLocalizedResourceHelper
(ResourceLoader resourceLoader) Create a new LocalizedResourceHelper with the given ResourceLoader.PathMatchingResourcePatternResolver
(ResourceLoader resourceLoader) Create a new PathMatchingResourcePatternResolver.PropertySourceProcessor
(ConfigurableEnvironment environment, ResourceLoader resourceLoader) -
Uses of ResourceLoader in org.springframework.core.type.classreading
Modifier and TypeMethodDescriptionfinal ResourceLoader
SimpleMetadataReaderFactory.getResourceLoader()
Return the ResourceLoader that this MetadataReaderFactory has been constructed with.ModifierConstructorDescriptionCachingMetadataReaderFactory
(ResourceLoader resourceLoader) Create a new CachingMetadataReaderFactory for the givenResourceLoader
, 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.