The Spring Framework

## Uses of Interface
org.springframework.core.io.InputStreamSource

Packages that use InputStreamSource
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.

Uses of InputStreamSource in org.springframework.core.io

Subinterfaces of InputStreamSource in org.springframework.core.io
`interface` `ContextResource` Extended interface for a resource that is loaded from an enclosing 'context', e.g. from a `ServletContext` or a `PortletContext` but also from plain classpath paths or relative file system paths (specified without an explicit prefix, hence applying relative to the local `ResourceLoader`'s context).
`interface` `Resource` Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.

Classes in org.springframework.core.io that implement InputStreamSource
`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.

Uses of InputStreamSource in org.springframework.mail.javamail

Methods in org.springframework.mail.javamail with parameters of type InputStreamSource
`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.

Uses of InputStreamSource in org.springframework.web.context.support

Classes in org.springframework.web.context.support that implement InputStreamSource
`class` `ServletContextResource` `Resource` implementation for `ServletContext` resources, interpreting relative paths within the web application root directory.

Uses of InputStreamSource in org.springframework.web.portlet.context

Classes in org.springframework.web.portlet.context that implement InputStreamSource
`class` `PortletContextResource` `Resource` implementation for `PortletContext` resources, interpreting relative paths within the portlet application root directory.

The Spring Framework

Copyright © 2002-2008 The Spring Framework.