Class ReceivedMessage.Attachment
java.lang.Object
com.codename1.backend.mail.ReceivedMessage.Attachment
- Enclosing class:
ReceivedMessage
One attached part.
-
Method Summary
Modifier and TypeMethodDescriptionTheContent-IDwithout its angle brackets, or null.The media type,image/png, without parameters.byte[]getData()The decoded content.The file name the sender gave, or null.
-
Method Details
-
getFilename
-
getContentType
The media type,image/png, without parameters.- Returns:
- the content type
-
getContentId
TheContent-IDwithout its angle brackets, or null.- Returns:
- the content id
-
getData
public byte[] getData()The decoded content.- Returns:
- a copy of the bytes
-