[英]java- iCal4j - Adding description of a meeting
I am using iCal4j
to creating ics file from outlook calendar. 我正在使用
iCal4j
从Outlook日历创建ics文件。 Now when I am creating a VEvent object, I am adding the calendar subject. 现在,当我创建VEvent对象时,我要添加日历主题。
VEvent meeting = new VEvent(startDate, endDate, subject);
But how to add the meeting description ? 但是如何添加会议说明? I could not find any option to add it.
我找不到添加任何选项。 Any suggestion will be deeply appreciated.
任何建议将不胜感激。
Thanks. 谢谢。
You have to do it through the properties list; 您必须通过属性列表来完成; for example
例如
VEvent meeting = new VEvent(startDate, endDate, subject);
meeting.getProperties().add(new Description("Description text goes here"));
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.