读取 Google 日历值
成功设置了事件
myEntry.setTitle(new PlainTextConstruct("TEST"))
myEntry.setContent(new PlainTextConstruct("See how much text will fit in there"))
我已使用“然后我已成功读取事件记录”
。这有效
myTitle = ret.getTitle().getPlainText()
,但这会引发错误,
myTitle = ret.getContent().getPlainText()
groovy.lang.MissingMethodException: No signature of method:
com.google.gdata.data.TextContent.getPlainText()
如果我做到了,也不会更好
myTitle = req.getContent().toString()
我错过了什么想法吗?
I have set an event successfully using
myEntry.setTitle(new PlainTextConstruct("TEST"))
myEntry.setContent(new PlainTextConstruct("See how much text will fit in there"))
Then I have successfully read the event record.
This works
myTitle = ret.getTitle().getPlainText()
But this throws an error
myTitle = ret.getContent().getPlainText()
groovy.lang.MissingMethodException: No signature of method:
com.google.gdata.data.TextContent.getPlainText()
No better if I make it
myTitle = req.getContent().toString()
Any ideas what I have missed??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试:
或:
Try:
or: