public class Mapsengine.Tables.Files extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Mapsengine.Tables.Files.Insert |
| Constructor and Description |
|---|
Mapsengine.Tables.Files() |
| Modifier and Type | Method and Description |
|---|---|
Mapsengine.Tables.Files.Insert |
insert(String id,
String filename)
Upload a file to a placeholder table asset.
|
Mapsengine.Tables.Files.Insert |
insert(String id,
String filename,
AbstractInputStreamContent mediaContent)
Upload a file to a placeholder table asset.
|
public Mapsengine.Tables.Files.Insert insert(String id, String filename) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - The ID of the table asset.filename - The file name of this uploaded file.IOExceptionpublic Mapsengine.Tables.Files.Insert insert(String id, String filename, AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method should be used for uploading media content.
id - The ID of the table asset.@param filename The file name of this uploaded file.mediaContent - The media HTTP content or null if none.IOException - if the initialization of the request fails