Package com.consol.citrus.mail.model
Class AttachmentPart
- java.lang.Object
-
- com.consol.citrus.mail.model.BodyPart
-
- com.consol.citrus.mail.model.AttachmentPart
-
public class AttachmentPart extends BodyPart
Attachment part adds file name.- Since:
- 1.4
- Author:
- Christoph Deppisch
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.consol.citrus.mail.model.BodyPart
BodyPart.Attachments
-
-
Field Summary
Fields Modifier and Type Field Description protected StringfileName-
Fields inherited from class com.consol.citrus.mail.model.BodyPart
attachments, content, contentType
-
-
Constructor Summary
Constructors Constructor Description AttachmentPart()Default constructor.AttachmentPart(String content, String contentType, String fileName)Default constructor using fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileName()Gets the file name.voidsetFileName(String fileName)Sets the file name.-
Methods inherited from class com.consol.citrus.mail.model.BodyPart
addPart, getAttachments, getContent, getContentType, hasAttachments, setAttachments, setContent, setContentType
-
-
-
-
Field Detail
-
fileName
protected String fileName
-
-