Class ByteArrayDataSource

java.lang.Object
org.apache.commons.mail.ByteArrayDataSource
All Implemented Interfaces:
DataSource

@Deprecated public class ByteArrayDataSource extends Object implements DataSource
Deprecated.
since 1.4, use ByteArrayDataSource instead
This class implements a typed DataSource from:
- an InputStream
- a byte array
- a String

From version 1.3.1, it is possible to set a name for this DataSource, and it is recommended to do so.

Since:
1.0