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()
DataSource
getMIMEType
in interface DataSource
public byte[] getByteData()
DataSource
getByteData
in interface DataSource