Class ReceivedMessage.Attachment

java.lang.Object
com.codename1.backend.mail.ReceivedMessage.Attachment
Enclosing class:
ReceivedMessage

public static final class ReceivedMessage.Attachment extends Object
One attached part.
  • Method Details

    • getFilename

      public String getFilename()
      The file name the sender gave, or null.
      Returns:
      the file name
    • getContentType

      public String getContentType()
      The media type, image/png, without parameters.
      Returns:
      the content type
    • getContentId

      public String getContentId()
      The Content-ID without its angle brackets, or null.
      Returns:
      the content id
    • getData

      public byte[] getData()
      The decoded content.
      Returns:
      a copy of the bytes