Class AttachmentPart


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

      • fileName

        protected String fileName
    • Constructor Detail

      • AttachmentPart

        public AttachmentPart()
        Default constructor.
      • AttachmentPart

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

      • getFileName

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

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