Package org.ical4j.integration.mail
Class MessageTemplate
- java.lang.Object
-
- org.ical4j.integration.mail.MessageTemplate
-
public class MessageTemplate extends Object
Provides the metadata and templated structure for sending a calendar.
-
-
Constructor Summary
Constructors Constructor Description MessageTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFromAddress()
String
getSubject()
String
getTextBody()
List<String>
getToAddresses()
MessageTemplate
withFromAddress(String fromAddress)
MessageTemplate
withSubject(String subject)
MessageTemplate
withTextBody(String textBody)
MessageTemplate
withToAddress(String toAddress)
-
-
-
Method Detail
-
withFromAddress
public MessageTemplate withFromAddress(String fromAddress)
-
withToAddress
public MessageTemplate withToAddress(String toAddress)
-
withSubject
public MessageTemplate withSubject(String subject)
-
withTextBody
public MessageTemplate withTextBody(String textBody)
-
getFromAddress
public String getFromAddress()
-
getSubject
public String getSubject()
-
getTextBody
public String getTextBody()
-
-