| Package | Description |
|---|---|
| com.avos.avoscloud |
| Modifier and Type | Class and Description |
|---|---|
class |
GetFileCallback<T extends AVFile>
A GetFileCallback is used to run code after a AVFile.parseFileWithObjectId is used to fetch a
AVFile by object id in a background thread.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends AVFile> |
AVObject.getAVFile(String key)
Access a AVFile value.
|
<T extends AVFile> |
AVStatus.getAVFile(String key)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static AVFile |
AVFile.fileFromMap(Map<String,Object> map) |
static AVFile |
AVUtils.fileFromMap(Map<String,Object> map)
Deprecated.
|
static AVFile |
AVFile.parseFileWithAbsoluteLocalPath(String name,
String absoluteLocalFilePath)
Deprecated.
Please use #
withAbsoluteLocalPath(String, String) |
static AVFile |
AVFile.parseFileWithAVObject(AVObject obj)
Deprecated.
Please use #
withAVObject(AVObject) |
static AVFile |
AVFile.parseFileWithFile(String name,
File file)
Deprecated.
Please use #
withFile(String, File) |
static AVFile |
AVFile.parseFileWithObjectId(String objectId)
Deprecated.
Please use #
withObjectId(String) |
static AVFile |
AVFile.withAbsoluteLocalPath(String name,
String absoluteLocalFilePath)
Creates a new file from local file path.
|
static AVFile |
AVFile.withAVObject(AVObject obj)
Construct a AVFile from AVObject.
|
static AVFile |
AVFile.withFile(String name,
File file)
Creates a new file from java.io.File object.
|
static AVFile |
AVFile.withObjectId(String objectId)
Retrieve a AVFile object by object id from AVOSCloud.If the file is not found,it will throw
java.io.FileNotFoundException.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
AVUtils.mapFromFile(AVFile file)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AVFile.parseFileWithObjectIdInBackground(String objectId,
GetFileCallback<AVFile> cb)
Deprecated.
|
static void |
AVObject.saveFileBeforeSave(List<AVFile> files,
boolean sync,
SaveCallback callback) |
static void |
AVFile.withObjectIdInBackground(String objectId,
GetFileCallback<AVFile> cb)
Retrieve a AVFile object by object id from AVOSCloud in background.If the file is not found,it
will call the callback with java.io.FileNotFoundException.
|
Copyright © 2017. All rights reserved.