public class GetFileSizeTask extends DownloadFileTask
MAX_REDIRECTS, mContext, mDirectory, mFilename, mNotifier, mProgressDialog, mUrlString| Constructor and Description |
|---|
GetFileSizeTask(android.content.Context context,
java.lang.String urlString,
DownloadFileListener notifier) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Long |
doInBackground(java.lang.Void... args) |
long |
getSize() |
protected void |
onPostExecute(java.lang.Long result) |
protected void |
onProgressUpdate(java.lang.Integer... args) |
attach, createConnection, detach, getURLString, setConnectionPropertiespublic GetFileSizeTask(android.content.Context context,
java.lang.String urlString,
DownloadFileListener notifier)
protected java.lang.Long doInBackground(java.lang.Void... args)
doInBackground in class DownloadFileTaskprotected void onProgressUpdate(java.lang.Integer... args)
onProgressUpdate in class DownloadFileTaskprotected void onPostExecute(java.lang.Long result)
onPostExecute in class DownloadFileTaskpublic long getSize()