OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Protected Member Functions | Protected Attributes
net.osmand.plus.activities.DownloadFileHelper Class Reference

List of all members.

Classes

interface  DownloadFileShowWarning

Public Member Functions

 DownloadFileHelper (Activity ctx)
boolean isWifiConnected ()
void setInterruptDownloading (boolean interruptDownloading)
boolean isInterruptDownloading ()

Protected Member Functions

void downloadFile (String fileName, FileOutputStream out, URL url, String part, String indexOfAllFiles, IProgress progress, boolean forceWifi) throws IOException, InterruptedException
boolean downloadFile (final String fileName, final File fileToDownload, final File fileToUnZip, final boolean unzipToDir, IProgress progress, Long dateModified, int parts, List< File > toReIndex, String indexOfAllFiles, DownloadFileShowWarning showWarningCallback, boolean forceWifi) throws InterruptedException

Protected Attributes

final int TRIES_TO_DOWNLOAD = 15
final long TIMEOUT_BETWEEN_DOWNLOADS = 8000

Constructor & Destructor Documentation


Member Function Documentation

void net.osmand.plus.activities.DownloadFileHelper.downloadFile ( String  fileName,
FileOutputStream  out,
URL  url,
String  part,
String  indexOfAllFiles,
IProgress  progress,
boolean  forceWifi 
) throws IOException, InterruptedException [protected]
boolean net.osmand.plus.activities.DownloadFileHelper.downloadFile ( final String  fileName,
final File  fileToDownload,
final File  fileToUnZip,
final boolean  unzipToDir,
IProgress  progress,
Long  dateModified,
int  parts,
List< File >  toReIndex,
String  indexOfAllFiles,
DownloadFileShowWarning  showWarningCallback,
boolean  forceWifi 
) throws InterruptedException [protected]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines