简体   繁体   English

如何在Eclipse中使用Java编辑Google电子表格

[英]How to edit google spreadsheets using java in eclipse

Is there a way to edit the google spreadsheets using the java programming in eclipse. 有没有一种方法可以使用Eclipse中的Java编程来编辑Google电子表格。 I have a test report coming out from the TestNG Framework and the results should be updated in the google spreadsheet. 我有一份来自TestNG框架的测试报告,其结果应在Google电子表格中进行更新。 Do we have inbuilt libraries, modules etc to import them and do the necessary actions to update the cells in the spreadsheet. 我们是否具有内置的库,模块等来导入它们,并执行必要的操作来更新电子表格中的单元格。

The only way to do this (properly) is by hooking on to what APi's google provide. (正确)做到这一点的唯一方法是通过钩住APi的Google提供的内容。

https://developers.google.com/google-apps/spreadsheets/ https://developers.google.com/google-apps/spreadsheets/

like stated above. 如上文所述。

the not so proper way would be to get a hold on a webdriver and manually firing commands. 不太合适的方法是控制Webdriver并手动触发命令。 but i would not advice this, especially when there are standard API's available. 但我不建议这样做,尤其是当有标准API可用时。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM