org.hdtourist.presenter
Class CiudadesListaPresenter.DescargarCiudadTask

java.lang.Object
  extended by android.os.AsyncTask<Params,java.lang.Integer,Result>
      extended by org.hdtourist.presenter.HdtLittleDownloadTask<FicheroHdt,java.lang.Boolean>
          extended by org.hdtourist.presenter.CiudadesListaPresenter.DescargarCiudadTask
Enclosing class:
CiudadesListaPresenter

private class CiudadesListaPresenter.DescargarCiudadTask
extends HdtLittleDownloadTask<FicheroHdt,java.lang.Boolean>

Tarea asíncrona para descargar ciudades hdt.

Author:
Elena Hervalejo

Nested Class Summary
 
Nested classes/interfaces inherited from class android.os.AsyncTask
android.os.AsyncTask.Status
 
Field Summary
(package private)  HdtException excep
          The excep.
(package private)  FicheroHdt ficheroCiudad
          The fichero ciudad.
private  IProgress notificadorProgreso
          The notificador progreso.
 
Fields inherited from class android.os.AsyncTask
SERIAL_EXECUTOR, THREAD_POOL_EXECUTOR
 
Constructor Summary
private CiudadesListaPresenter.DescargarCiudadTask()
           
 
Method Summary
protected  java.lang.Boolean doInBackground(FicheroHdt... params)
           
protected  void onCancelled()
           
protected  void onPostExecute(java.lang.Boolean result)
           
protected  void onPreExecute()
           
protected  void onProgressUpdate(java.lang.Integer... values)
           
 
Methods inherited from class org.hdtourist.presenter.HdtLittleDownloadTask
downLoadFileFromUrl, getFileSize, obtenFicherosHdtServidor
 
Methods inherited from class android.os.AsyncTask
cancel, execute, execute, executeOnExecutor, get, get, getStatus, isCancelled, onCancelled, publishProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notificadorProgreso

private IProgress notificadorProgreso
The notificador progreso.


excep

HdtException excep
The excep.


ficheroCiudad

FicheroHdt ficheroCiudad
The fichero ciudad.

Constructor Detail

CiudadesListaPresenter.DescargarCiudadTask

private CiudadesListaPresenter.DescargarCiudadTask()
Method Detail

doInBackground

protected java.lang.Boolean doInBackground(FicheroHdt... params)
Specified by:
doInBackground in class android.os.AsyncTask<FicheroHdt,java.lang.Integer,java.lang.Boolean>

onCancelled

protected void onCancelled()
Overrides:
onCancelled in class android.os.AsyncTask<FicheroHdt,java.lang.Integer,java.lang.Boolean>

onPostExecute

protected void onPostExecute(java.lang.Boolean result)
Overrides:
onPostExecute in class android.os.AsyncTask<FicheroHdt,java.lang.Integer,java.lang.Boolean>

onPreExecute

protected void onPreExecute()
Overrides:
onPreExecute in class android.os.AsyncTask<FicheroHdt,java.lang.Integer,java.lang.Boolean>

onProgressUpdate

protected void onProgressUpdate(java.lang.Integer... values)
Overrides:
onProgressUpdate in class android.os.AsyncTask<FicheroHdt,java.lang.Integer,java.lang.Boolean>