Update ResumableUpload.java
This commit is contained in:
parent
477e4050b7
commit
a56c7ad3f5
|
|
@ -179,7 +179,7 @@ public class ResumableUpload
|
||||||
* @param text Text to upload
|
* @param text Text to upload
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public void uploadString(Credential credential, com.google.api.services.drive.model.File jsonStructure, String text) throws IOException, UploadFileException
|
public static void uploadString(Credential credential, com.google.api.services.drive.model.File jsonStructure, String text) throws IOException, UploadFileException
|
||||||
{
|
{
|
||||||
String sessionUrl = requestUploadUrl(credential, jsonStructure);
|
String sessionUrl = requestUploadUrl(credential, jsonStructure);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue