| java.lang.Object | |
| ↳ | com.atlassian.jira.mail.util.ByteArrayDataSource |
This is a javax.activation.DataSource that reads input from a stream and captures it into a I18nVal. This is useful for capturing strea data into emails for example.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a datasource from an input stream.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the content type.
| |||||||||||
Get the input stream.
| |||||||||||
Get the name.
| |||||||||||
Get the OutputStream to write to
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||
From interface
javax.activation.DataSource
| |||||||||||||||||||
Create a datasource from an input stream.
| inputStream | This is NOT closed as a result of this operation |
|---|---|
| contentType | The content type of the data |
| IOException |
|---|

