AeroGear Android Library 1.1.0

org.jboss.aerogear.android.impl.pipeline.loader
Class AbstractPipeLoader<T>

java.lang.Object
  extended by android.content.Loader<D>
      extended by android.content.AsyncTaskLoader<T>
          extended by org.jboss.aerogear.android.impl.pipeline.loader.AbstractPipeLoader<T>
Direct Known Subclasses:
ReadLoader, RemoveLoader, SaveLoader

public abstract class AbstractPipeLoader<T>
extends android.content.AsyncTaskLoader<T>

This class maintains references to the callback to be called when a Loader supporting a Pipe's operation completes. It also contains a reference to any exception which may have been thrown. This class and its subclasses use the Loaders from android.content and will NOT work on devices < Android 3.0. If your application needs to support these devices see AbstractSupportPipeLoader


Nested Class Summary
 
Nested classes/interfaces inherited from class android.content.Loader
android.content.Loader.ForceLoadContentObserver, android.content.Loader.OnLoadCompleteListener<D>
 
Field Summary
protected  Exception exception
           
 
Constructor Summary
AbstractPipeLoader(android.content.Context context, Callback<T> callback)
           
 
Method Summary
 Callback<T> getCallback()
           
 Exception getException()
           
 boolean hasException()
           
protected  void onReset()
           
 
Methods inherited from class android.content.AsyncTaskLoader
cancelLoad, dump, loadInBackground, onCanceled, onForceLoad, onLoadInBackground, setUpdateThrottle
 
Methods inherited from class android.content.Loader
abandon, dataToString, deliverResult, forceLoad, getContext, getId, isAbandoned, isReset, isStarted, onAbandon, onContentChanged, onStartLoading, onStopLoading, registerListener, reset, startLoading, stopLoading, takeContentChanged, toString, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exception

protected Exception exception
Constructor Detail

AbstractPipeLoader

public AbstractPipeLoader(android.content.Context context,
                          Callback<T> callback)
Method Detail

hasException

public boolean hasException()

getException

public Exception getException()

onReset

protected void onReset()
Overrides:
onReset in class android.content.Loader<T>

getCallback

public Callback<T> getCallback()

AeroGear Android Library 1.1.0

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.