public class ByteArrayDataSource extends java.lang.Object implements DataSource
Constructor and Description |
---|
ByteArrayDataSource(byte[] data) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getByteData()
Gets the contained data
|
java.lang.String |
getMIMEType()
Gets the MIME Type of the contained data.
|
public java.lang.String getMIMEType()
DataSource
getMIMEType
in interface DataSource
public byte[] getByteData()
DataSource
getByteData
in interface DataSource