public class IcalHandler extends Object
Modifier and Type | Field and Description |
---|---|
static net.fortuna.ical4j.model.property.Method |
ICAL_METHOD_CANCEL |
static net.fortuna.ical4j.model.property.Method |
ICAL_METHOD_REFRESH |
static net.fortuna.ical4j.model.property.Method |
ICAL_METHOD_REQUEST
Creation of a new Event
|
Constructor and Description |
---|
IcalHandler(net.fortuna.ical4j.model.property.Method method)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
addNewMeeting(Date startDate,
Date endDate,
String name,
List<Map<String,String>> attendees,
String description,
Map<String,String> organizer,
String uid,
String javaTzId) |
Map<String,String> |
getAttendeeData(String emailAdress,
String displayName,
boolean chair)
Use this function to build a valid record for the AttendeeList for
addMeetings Generate a Attendee
|
byte[] |
getIcalAsByteArray()
Get IcalBody as ByteArray
|
String |
getICalDataAsString()
Retrieving Data as String
|
void |
writeDataToFile(String filerPath)
Write iCal to File
|
public static final net.fortuna.ical4j.model.property.Method ICAL_METHOD_REQUEST
public static final net.fortuna.ical4j.model.property.Method ICAL_METHOD_CANCEL
public static final net.fortuna.ical4j.model.property.Method ICAL_METHOD_REFRESH
public IcalHandler(net.fortuna.ical4j.model.property.Method method)
method
- (@see IcalHandler Constants)Exception
public String addNewMeeting(Date startDate, Date endDate, String name, List<Map<String,String>> attendees, String description, Map<String,String> organizer, String uid, String javaTzId) throws Exception
startDate
- use standard TimeZone!!endDate
- use standard time zone!!name
- meeting nameattendees
- List of attendees (use getAttendeeData to retrieve valid records)description
- containing the meeting descriptionorganizer
- organizeruid
- (maybe null)javaTzId
- ID of owner's java time zoneException
public Map<String,String> getAttendeeData(String emailAdress, String displayName, boolean chair)
public void writeDataToFile(String filerPath) throws Exception
Exception
public byte[] getIcalAsByteArray() throws Exception
Exception
public String getICalDataAsString()
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.