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