public static final class ImportExport.VideoUploadService extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
doVideoUpload(AbstractClient client,
InputStream input,
String fileName,
long fileSize)
A helper method, that obtains an upload ticket and sends the video file
to the specified upload service.
|
static VideoUploadTicket |
get(AbstractClient client)
Calls the GET method as documented in the
description for video uploads.
|
public static String doVideoUpload(AbstractClient client, InputStream input, String fileName, long fileSize) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - input - fileName - fileSize - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionpublic static VideoUploadTicket get(AbstractClient client) throws IOException, oauth.signpost.exception.OAuthException, JAXBException, RequestFailedException
client - IOExceptionoauth.signpost.exception.OAuthExceptionJAXBExceptionRequestFailedExceptionCopyright © 2014 OpenEstate. All rights reserved.