public class DataFileManager
extends java.lang.Object
| Constructor and Description |
|---|
DataFileManager(DeviceAtlasApi deviceAtlasApi,
DataFile dataFile) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDownloadedDataFilePath()
If the temporary data file exists on the system return the temporary file path.
|
void |
persistDataFile()
The data file is downloaded into a temporary file.
|
void |
scheduleDownloadAndReloadTask()
Schedule a task to download the data file and load it into the API.
|
public DataFileManager(DeviceAtlasApi deviceAtlasApi, DataFile dataFile)
public java.lang.String getDownloadedDataFilePath()
throws DataLoadingException
DataLoadingExceptionpublic void persistDataFile()
throws DataLoadingException
DataLoadingExceptionpublic void scheduleDownloadAndReloadTask()
Copyright © 2023 DeviceAtlas Limited. All rights reserved.