public interface DataExporter
Data pushing manager.
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | DataExporter.OutputProgressCallback | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | add(java.lang.String path)Sets the data path. | 
| boolean | complete()Returns true if data push is complete. | 
| java.lang.String | getId()Gets the data pushing task ID | 
| void | outputAsZip(java.lang.String dataItemId, java.io.OutputStream out, FileVerificationInfo[] infos)Packs the data that needs to be pushed. | 
| void | prepare()Push data. | 
| void | setOutputProgressCallback(DataExporter.OutputProgressCallback value)Sets the callback for the progress of the push. | 
| void | untilComplete()Waiting for data to be push completed. | 
java.lang.String add(java.lang.String path)
Sets the data path.
path -
void untilComplete()
                   throws java.io.IOException
Waiting for data to be push completed.
java.io.IOExceptionjava.lang.String getId()
Gets the data pushing task ID
void outputAsZip(java.lang.String dataItemId,
               java.io.OutputStream out,
               FileVerificationInfo[] infos)
                 throws java.io.IOException
Packs the data that needs to be pushed.
dataItemId -out -infos -java.io.IOExceptionvoid prepare()
Push data.
boolean complete()
Returns true if data push is complete.
void setOutputProgressCallback(DataExporter.OutputProgressCallback value)
Sets the callback for the progress of the push.
value -