Package org.silverpeas.core.mail
Interface MailContent.AttachedFile
-
- All Known Implementing Classes:
SimpleDocumentMailAttachedFile
- Enclosing class:
- MailContent
public static interface MailContent.AttachedFileRepresentation of an attached file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetName()The name of the attached file.StringgetPath()The full path to the file content.default javax.mail.internet.MimeBodyParttoBodyPart()Gets the corresponding body part.
-
-
-
Method Detail
-
getName
String getName()
The name of the attached file.- Returns:
- a string.
-
getPath
String getPath()
The full path to the file content.- Returns:
- a string.
-
toBodyPart
default javax.mail.internet.MimeBodyPart toBodyPart() throws javax.mail.MessagingExceptionGets the corresponding body part.- Returns:
- a
MimeBodyPartinstance. - Throws:
javax.mail.MessagingException
-
-