Interface EmailAttachment

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultEmailAttachment

public interface EmailAttachment extends Serializable
  • Method Details

    • getAttachmentName

      String getAttachmentName()
    • getAttachmentData

      byte[] getAttachmentData()
    • getContentType

      org.springframework.http.MediaType getContentType() throws IOException
      Throws:
      IOException
    • getInputStream

      default org.springframework.core.io.ByteArrayResource getInputStream()