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
UrlResourceorClassPathResource.Convenience base class forResourceimplementations, pre-implementing typical behavior.Resourceimplementation for a given byte array.Resourceimplementation for class path resources.ResourceLoaderimplementation that interprets plain resource paths as relative to a givenjava.lang.Class.Extended interface for a resource that is loaded from an enclosing 'context', for example, from aServletContextbut also from plain classpath paths or relative file system paths (specified without an explicit prefix, hence applying relative to the localResourceLoader's context).Default implementation of theResourceLoaderinterface.ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.SimpleResourceimplementation that holds a resource description but does not point to an actually readable resource.ResourceLoaderimplementation that resolves plain paths as file system resources rather than as class path resources (the latter isDefaultResourceLoader's default strategy).Subclass ofUrlResourcewhich assumes file resolution, to the degree of implementing theWritableResourceinterface for it.Resourceimplementation for a givenInputStreamor a givenInputStreamSource(which can be supplied as a lambda expression) for a lazyInputStreamon demand.Simple interface for objects that are sources for anInputStream.Resourceimplementation forModuleresolution, performingModuleResource.getInputStream()access viaModule.getResourceAsStream(java.lang.String).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 (for example, class path or file system resources).Resourceimplementation forjava.net.URLlocators.JBoss VFS basedResourceimplementation.Utility for detecting and accessing JBoss VFS in the classpath.Extended interface for a resource that supports writing to it.