public class UploadOptions extends Object
GPUdbFileHandler
class can use to set
the options for the methods
GPUdbFileHandler.upload(List, String, UploadOptions, FileUploadListener)
and GPUdbFileHandler.upload(String, String, UploadOptions, FileUploadListener)
The static method defaultOptions()
can be used to retrieve the
default options for upload.Constructor and Description |
---|
UploadOptions(boolean recursive,
int ttl)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static UploadOptions |
defaultOptions() |
int |
getTtl() |
boolean |
isRecursive() |
public UploadOptions(boolean recursive, int ttl)
recursive
- - indicates whether file search is recursive or notttl
- - indicates a ttl value for the uploaded filespublic static UploadOptions defaultOptions()
public boolean isRecursive()
public int getTtl()
Copyright © 2024. All rights reserved.