Package com.spun.util

Class ByteArrayDataSource

java.lang.Object
com.spun.util.ByteArrayDataSource
All Implemented Interfaces:
DataSource

public class ByteArrayDataSource
extends Object
implements DataSource
Comment By LLewellyn: This is a needed class for using mail. For some reason wasn't made as part of the standard mail package.

A simple DataSource for demonstration purposes. This class implements a DataSource from: an InputStream a byte array a String

Author:
John Mani, Bill Shannon, Max Spivak