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()
DataSourcegetMIMEType in interface DataSourcepublic byte[] getByteData()
DataSourcegetByteData in interface DataSource