public class Attachment
extends java.lang.Object
implements java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
Attachment(java.lang.String filename,
java.lang.String mimetype,
java.lang.String data)
Create a new attachment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getData() |
java.lang.String |
getFilename() |
java.lang.String |
getMimetype() |
protected Attachment(java.lang.String filename, java.lang.String mimetype, java.lang.String data)
filename
- the file name of the attachmentmimetype
- the mime type of the attachmentdata
- the file contents of the attachment, encoded as Base64Copyright © 2017. All Rights Reserved.