com.bumptech.glide.load.model.stream
Class StreamResourceLoader

java.lang.Object
  extended by com.bumptech.glide.load.model.ResourceLoader<InputStream>
      extended by com.bumptech.glide.load.model.stream.StreamResourceLoader
All Implemented Interfaces:
ModelLoader<Integer,InputStream>, StreamModelLoader<Integer>

public class StreamResourceLoader
extends ResourceLoader<InputStream>
implements StreamModelLoader<Integer>

A ModelLoader For translating android resource id models for local uris into InputStream data.


Nested Class Summary
static class StreamResourceLoader.Factory
          The default factory for StreamResourceLoaders.
 
Constructor Summary
StreamResourceLoader(Context context)
           
StreamResourceLoader(Context context, ModelLoader<Uri,InputStream> uriLoader)
           
 
Method Summary
 
Methods inherited from class com.bumptech.glide.load.model.ResourceLoader
getResourceFetcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bumptech.glide.load.model.ModelLoader
getResourceFetcher
 

Constructor Detail

StreamResourceLoader

public StreamResourceLoader(Context context)

StreamResourceLoader

public StreamResourceLoader(Context context,
                            ModelLoader<Uri,InputStream> uriLoader)