|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.network.AttachmentBase
com.aspose.network.AlternateView
com.aspose.network.Calendar
@Deprecated public final class Calendar
Represents a calendar to an e-mail.
This example demonstrates how to add a calendar to an E-Mail message.
[Java]
MailMessage msg = new MailMessage(); //attendees for the event MailAddressCollection attendees = new MailAddressCollection(); attendees.add(new MailAddress("person1@domain.com")); attendees.add(new MailAddress("person2@domain.com")); attendees.add(new MailAddress("person3@domain.com")); //create calendar Calendar cal = new Calendar("Room 112", new Date(2006,7,17,13,0,0), new Date(2006,7,17,14,0,0), new MailAddress("somebody@domain.com"), attendees ); cal.setSummary("Release Meetting"); cal.setDescription("Discuss for the next release"); //add calendar to the message msg.addCalendar(cal);
Constructor Summary | |
---|---|
Calendar(String location,
Date startDate,
Date endDate,
MailAddress organizer,
MailAddressCollection attendees)
Deprecated. |
|
Calendar(String location,
String summary,
String description,
Date startDate,
Date endDate,
MailAddress organizer,
MailAddressCollection attendees)
Deprecated. |
|
Calendar(String location,
String summary,
String description,
Date startDate,
Date endDate,
MailAddress organizer,
MailAddressCollection attendees,
CalendarRecurrencePattern recurrencePattern)
Deprecated. |
Method Summary | |
---|---|
static AlternateView |
createCancelRequestFrom(Calendar calendar,
String uniqueId,
int sequenceId)
Deprecated. Creates the cancel request from. |
MailAddressCollection |
getAttendees()
Deprecated. Gets or sets the attendees. |
String |
getCalendarHtml()
Deprecated. Gets the calendar HTML. |
String |
getCalendarText()
Deprecated. Gets the calendar text. |
String |
getDescription()
Deprecated. Gets or sets the description. |
Date |
getEndDate()
Deprecated. |
String |
getLocation()
Deprecated. Gets or sets the location. |
MailAddress |
getOrganizer()
Deprecated. Gets or sets the organizer. |
CalendarRecurrencePattern |
getRecurrencePattern()
Deprecated. Gets or sets the recurrence pattern. |
String |
getSequenceId()
Deprecated. Gets the sequence id. |
Date |
getStartDate()
Deprecated. |
String |
getSummary()
Deprecated. Gets or sets the summary. |
String |
getUniqueId()
Deprecated. Gets or sets the unique id. |
void |
save(OutputStream stream)
Deprecated. Saves the specified stream. |
void |
save(String fileName)
Deprecated. Saves the specified file name. |
void |
setAttendees(MailAddressCollection value)
Deprecated. |
void |
setDescription(String value)
Deprecated. |
void |
setEndDate(Date value)
Deprecated. |
void |
setLocation(String value)
Deprecated. |
void |
setOrganizer(MailAddress value)
Deprecated. |
void |
setRecurrencePattern(CalendarRecurrencePattern value)
Deprecated. |
void |
setStartDate(Date value)
Deprecated. |
void |
setSummary(String value)
Deprecated. |
void |
setUniqueId(String value)
Deprecated. |
Methods inherited from class com.aspose.network.AlternateView |
---|
createAlternateViewFromString, createAlternateViewFromString, createAlternateViewFromString, createAlternateViewFromString, getBaseUri, getLinkedResources, setBaseUri |
Methods inherited from class com.aspose.network.AttachmentBase |
---|
dispose, getContentId, getContentStream, getContentType, getTransferEncoding, saveRawContent, setContentId, setContentStream, setContentType, setTransferEncoding |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Calendar(String location, Date startDate, Date endDate, MailAddress organizer, MailAddressCollection attendees)
public Calendar(String location, String summary, String description, Date startDate, Date endDate, MailAddress organizer, MailAddressCollection attendees)
public Calendar(String location, String summary, String description, Date startDate, Date endDate, MailAddress organizer, MailAddressCollection attendees, CalendarRecurrencePattern recurrencePattern)
Method Detail |
---|
public String getLocation()
Gets or sets the location.
public void setLocation(String value)
public String getSummary()
Gets or sets the summary.
public void setSummary(String value)
public String getDescription()
Gets or sets the description.
public void setDescription(String value)
public Date getStartDate()
public void setStartDate(Date value)
public Date getEndDate()
public void setEndDate(Date value)
public MailAddressCollection getAttendees()
Gets or sets the attendees.
public void setAttendees(MailAddressCollection value)
public MailAddress getOrganizer()
Gets or sets the organizer.
public void setOrganizer(MailAddress value)
public CalendarRecurrencePattern getRecurrencePattern()
Gets or sets the recurrence pattern.
Value: The recurrence pattern.
public void setRecurrencePattern(CalendarRecurrencePattern value)
public String getUniqueId()
Gets or sets the unique id.
Value: The unique id.
public void setUniqueId(String value)
public String getSequenceId()
Gets the sequence id.
Value: The sequence id.
public void save(OutputStream stream)
Saves the specified stream.
save
in class AttachmentBase
stream
- The stream.public void save(String fileName)
Saves the specified file name.
save
in class AttachmentBase
fileName
- Name of the file.public String getCalendarHtml()
Gets the calendar HTML.
public String getCalendarText()
Gets the calendar text.
public static AlternateView createCancelRequestFrom(Calendar calendar, String uniqueId, int sequenceId)
Creates the cancel request from.
calendar
- The calendar.uniqueId
- The unique id.sequenceId
- The sequence id.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |