如何解决Ical4j中的异常?
我正在使用 ical4j 来解析 Outlook 日历文件。当我解析文件时,它会给出如下异常:
Error at line 60:Illegal character in opaque part at index 4: CID:<[email protected]>
如何在不更改日历文件的情况下解决此问题。
I am using ical4j for parsing outlook calendar file.When i parse the file it gives the exception as follows
Error at line 60:Illegal character in opaque part at index 4: CID:<[email protected]>
How to solve this problem without changing the calendar file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果启用NOTES_COMPATIBILITY CompatibilityHint,此异常应该消失。您可以通过编程方式执行此操作:
CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_NOTES_COMPATIBILITY, true);
或者通过将 ical.properties 中的以下行添加到类路径中:
ical4j.compatibility.notes=true
请参阅 ical4j wiki 了解更多详细信息:
http://wiki.modularity.net.au/ical4j/index.php?title=兼容性
If you enable the NOTES_COMPATIBILITY CompatibilityHint this exception should go away. You can do this either programmatically:
CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_NOTES_COMPATIBILITY, true);
or via the following line in the ical.properties added to the classpath:
ical4j.compatibility.notes=true
See the ical4j wiki for further details:
http://wiki.modularity.net.au/ical4j/index.php?title=Compatibility