[英]how to upload an excel sheet in google drive using java api
In the Google developers code , method to upload a spreadsheet is given for .net
but not java
. 在Google开发人员代码中 ,
.net
给出了上传电子表格的方法,但java
没有给出。 Does any one know the sample code for this . 是否有人知道此示例代码。 code on
how to convert an excel file to a spreadsheet and upload it
will also do . 关于
how to convert an excel file to a spreadsheet and upload it
也可以。
Can you please check the below url. 能否请您检查以下网址。 It might help you
可能对你有帮助
http://stackoverflow.com/questions/19361814/create-spreadsheet-using-google-spreadsheet-api-in-google-drive-java
login/OAuth2 The Google "DrEdit" tutorial is a good starting place for login/OAuth2 etc. login / OAuth2 Google“ DrEdit”教程是登录/ OAuth2等的良好起点。
Upload: The only method I have seen uses Google drive sdk 上传:我见过的唯一方法是使用Google驱动器sdk
Java example here: https://developers.google.com/drive/v2/reference/files/insert 此处的Java示例: https : //developers.google.com/drive/v2/reference/files/insert
An example of the convert, (in PHP) using the same API, 使用相同API进行转换的示例(在PHP中),
Create a Google Drive Spreadsheet from a local CSV file via the Google Drive API 通过Google Drive API从本地CSV文件创建Google Drive电子表格
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.