| java.lang.Object | |
| ↳ | com.google.gdata.client.media.ResumableGDataFileUploader.Builder |
Builder to construct a ResumableGDataFileUploader.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| chunkSize | |||||||||||
| executor | |||||||||||
| listener | |||||||||||
| mediaEntry | |||||||||||
| mediaFile | |||||||||||
| mediaService | |||||||||||
| mediaTitle | |||||||||||
| mediaUrl | |||||||||||
| progressInterval | |||||||||||
| requestType | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds a
ResumableGDataFileUploader to upload new media. | |||||||||||
Builds a
ResumableGDataFileUploader to update an existing media. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a
ResumableGDataFileUploader instance. | |||||||||||
Max content size for media upload request.
| |||||||||||
Sets ExecutorService to execute asynchronous tasks.
| |||||||||||
Sets the media upload request type.
| |||||||||||
Sets title for uploaded media.
| |||||||||||
Sets parameters to track upload progress.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Builds a ResumableGDataFileUploader to upload new media.
| service | Media service |
|---|---|
| mediaUrl | Resumable-create-media url. |
| mediaFile | File to upload. |
| mediaEntry | Metadata for the uploaded file. |
Builds a ResumableGDataFileUploader to update an existing media.
| service | Media service. |
|---|---|
| mediaFile | Updated file to upload. |
| entryToUpdate | Updated metadata associated with the existing entry. |
Creates a ResumableGDataFileUploader instance.
| IOException | any read/write error. |
|---|---|
| ServiceException | any server error. |
Max content size for media upload request.
| chunkSize | Max upload size in bytes. |
|---|
Sets ExecutorService to execute asynchronous tasks.
| executor | Executor service to use. |
|---|
Sets the media upload request type.
| requestType | One of INSERT, UPDATE, UPDATE_MEDIA_ONLY |
|---|
Sets title for uploaded media. This value passed as Slug header in media requests.
| mediaTitle | Title for new media. |
|---|
Sets parameters to track upload progress.
| listener | ProgressListener callback for tracking progress. |
|---|---|
| progressInterval | Time interval in millis for progress notifications. |