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, setConnectionProperties
public GetFileSizeTask(android.content.Context context, java.lang.String urlString, DownloadFileListener notifier)
protected java.lang.Long doInBackground(java.lang.Void... args)
doInBackground
in class DownloadFileTask
protected void onProgressUpdate(java.lang.Integer... args)
onProgressUpdate
in class DownloadFileTask
protected void onPostExecute(java.lang.Long result)
onPostExecute
in class DownloadFileTask
public long getSize()