Package org.springframework.core.io
@NonNullApi
@NonNullFields
package org.springframework.core.io
Generic abstraction for (file-based) resources, used throughout the framework.
-
ClassDescriptionAbstract base class for resources which resolve URLs into File references, such as
UrlResource
orClassPathResource
.Convenience base class forResource
implementations, pre-implementing typical behavior.Resource
implementation for a given byte array.Resource
implementation for class path resources.ResourceLoader
implementation that interprets plain resource paths as relative to a givenjava.lang.Class
.Extended interface for a resource that is loaded from an enclosing 'context', e.g.Default implementation of theResourceLoader
interface.ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.SimpleResource
implementation that holds a resource description but does not point to an actually readable resource.ResourceLoader
implementation that resolves plain paths as file system resources rather than as class path resources (the latter isDefaultResourceLoader
's default strategy).Subclass ofUrlResource
which assumes file resolution, to the degree of implementing theWritableResource
interface for it.Resource
implementation for a givenInputStream
.Simple interface for objects that are sources for anInputStream
.A resolution strategy for protocol-specific resource handles.Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.Strategy interface for loading resources (e.g., class path or file system resources).Resource
implementation forjava.net.URL
locators.JBoss VFS basedResource
implementation.Utility for detecting and accessing JBoss VFS in the classpath.Extended interface for a resource that supports writing to it.