Class AttachmentPart

java.lang.Object
org.citrusframework.mail.model.BodyPart
org.citrusframework.mail.model.AttachmentPart

public class AttachmentPart extends BodyPart
Attachment part adds file name.
Since:
1.4
Author:
Christoph Deppisch
  • Field Details

    • fileName

      protected String fileName
  • Constructor Details

    • AttachmentPart

      public AttachmentPart()
      Default constructor.
    • AttachmentPart

      public AttachmentPart(String content, String contentType, String fileName)
      Default constructor using fields.
      Parameters:
      content -
      contentType -
  • Method Details

    • getFileName

      public String getFileName()
      Gets the file name.
      Returns:
    • setFileName

      public void setFileName(String fileName)
      Sets the file name.
      Parameters:
      fileName -