AeroGear Android Library 1.1.0

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

java.lang.Object
  extended by android.support.v4.content.Loader<D>
      extended by android.support.v4.content.AsyncTaskLoader<T>
          extended by org.jboss.aerogear.android.impl.pipeline.loader.support.AbstractSupportPipeLoader<T>
Direct Known Subclasses:
SupportReadLoader, SupportRemoveLoader, SupportSaveLoader

public abstract class AbstractSupportPipeLoader<T>
extends android.support.v4.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.support and will work on devices < Android 3.0. If your application does not need to support these devices see AbstractPipeLoader


Nested Class Summary
 
Nested classes/interfaces inherited from class android.support.v4.content.Loader
android.support.v4.content.Loader.ForceLoadContentObserver, android.support.v4.content.Loader.OnLoadCompleteListener<D>
 
Field Summary
protected  Exception exception
           
 
Constructor Summary
AbstractSupportPipeLoader(android.content.Context context, Callback<T> callback)
           
 
Method Summary
 Callback<T> getCallback()
           
 Exception getException()
           
 boolean hasException()
           
protected  void onReset()
           
 
Methods inherited from class android.support.v4.content.AsyncTaskLoader
cancelLoad, dump, loadInBackground, onCanceled, onForceLoad, onLoadInBackground, setUpdateThrottle, waitForLoader
 
Methods inherited from class android.support.v4.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

AbstractSupportPipeLoader

public AbstractSupportPipeLoader(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.support.v4.content.Loader<T>

getCallback

public Callback<T> getCallback()

AeroGear Android Library 1.1.0

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