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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContextResource
Extended interface for a resource that is loaded from an enclosing
'context', e.g.
|
interface |
Resource
Interface for a resource descriptor that abstracts from the actual
type of underlying resource, such as a file or class path resource.
|
interface |
WritableResource
Extended interface for a resource that supports writing to it.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFileResolvingResource
Abstract base class for resources which resolve URLs into File references,
such as
UrlResource or ClassPathResource . |
class |
AbstractResource
Convenience base class for
Resource implementations,
pre-implementing typical behavior. |
class |
ByteArrayResource
Resource implementation for a given byte array. |
class |
ClassPathResource
Resource implementation for class path resources. |
protected static class |
DefaultResourceLoader.ClassPathContextResource
ClassPathResource that explicitly expresses a context-relative path
through implementing the ContextResource interface.
|
class |
DescriptiveResource
Simple
Resource implementation that holds a resource description
but does not point to an actually readable resource. |
class |
FileSystemResource
Resource implementation for java.io.File handles. |
class |
InputStreamResource
Resource implementation for a given InputStream . |
class |
PathResource
Resource implementation for java.nio.file.Path handles. |
class |
UrlResource
Resource implementation for java.net.URL locators. |
class |
VfsResource
JBoss VFS based
Resource implementation. |
Modifier and Type | Class and Description |
---|---|
class |
EncodedResource
Holder that combines a
Resource descriptor with a specific encoding
or Charset to be used for reading from the resource. |