Package | Description |
---|---|
org.springframework.core.io |
Generic abstraction for (file-based) resources, used throughout the framework.
|
org.springframework.mail.javamail |
JavaMail support for Spring's mail infrastructure.
|
org.springframework.web.context.support |
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
org.springframework.web.portlet.context |
Support for Spring's application context concept in a portlet environment,
including ApplicationContext implementations and various utility classes.
|
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. |
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 |
UrlResource
Resource implementation for java.net.URL locators. |
class |
VfsResource
VFS based
Resource implementation. |
Modifier and Type | Method and Description |
---|---|
void |
MimeMessageHelper.addAttachment(String attachmentFilename,
InputStreamSource inputStreamSource)
Add an attachment to the MimeMessage, taking the content from an
org.springframework.core.io.InputStreamResource . |
void |
MimeMessageHelper.addAttachment(String attachmentFilename,
InputStreamSource inputStreamSource,
String contentType)
Add an attachment to the MimeMessage, taking the content from an
org.springframework.core.io.InputStreamResource . |
void |
MimeMessageHelper.addInline(String contentId,
InputStreamSource inputStreamSource,
String contentType)
Add an inline element to the MimeMessage, taking the content from an
org.springframework.core.InputStreamResource , and
specifying the content type explicitly. |
protected DataSource |
MimeMessageHelper.createDataSource(InputStreamSource inputStreamSource,
String contentType,
String name)
Create an Activation Framework DataSource for the given InputStreamSource.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletContextResource
Resource implementation for
ServletContext resources, interpreting
relative paths within the web application root directory. |
Modifier and Type | Class and Description |
---|---|
class |
PortletContextResource
Resource implementation for
PortletContext resources, interpreting
relative paths within the portlet application root directory. |
Copyright © 2015. All rights reserved.