Generic abstraction for (file-based) resources, used throughout the framework.


Interface Summary
ContextResource Extended interface for a resource that is loaded from an enclosing 'context', e.g.
InputStreamSource Simple interface for objects that are sources for an InputStream.
Resource Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.
ResourceLoader Strategy interface for loading resources (e..
WritableResource Extended interface for a resource that supports writing to it.

Class Summary
AbstractFileResolvingResource Abstract base class for resources which resolve URLs into File references, such as UrlResource or ClassPathResource.
AbstractResource Convenience base class for Resource implementations, pre-implementing typical behavior.
ByteArrayResource Resource implementation for a given byte array.
ClassPathResource Resource implementation for class path resources.
ClassRelativeResourceLoader ResourceLoader implementation that interprets plain resource paths as relative to a given java.lang.Class.
DefaultResourceLoader Default implementation of the ResourceLoader interface.
DescriptiveResource Simple Resource implementation that holds a resource description but does not point to an actually readable resource.
FileSystemResource Resource implementation for handles.
FileSystemResourceLoader ResourceLoader implementation that resolves plain paths as file system resources rather than as class path resources (the latter is DefaultResourceLoader's default strategy).
InputStreamResource Resource implementation for a given InputStream.
ResourceEditor Editor for Resource descriptors, to automatically convert String locations e.g.
UrlResource Resource implementation for locators.
VfsResource VFS based Resource implementation.
VfsUtils Utility for detecting the JBoss VFS version available in the classpath.

Package Description

Generic abstraction for (file-based) resources, used throughout the framework.