Package com.mobwith.imgmodule.load.model
See: Description
-
Interface Summary Interface Description AssetFetcherFactory A factory to build a DataFetcher for a specific asset path. Converter Converts between a byte array a desired model class. DataDecoder Allows decoding a specific type of data from a Data URL String. FileOpener Allows opening a specific type of data from a File. Headers An interface for a wrapper for a set of headers to be included in a ImageModule request. LazyHeaderFactory An interface for lazily creating headers that allows expensive to calculate headers (oauth for example) to be generated in the background during the first fetch. Model An optional interface that models can implement to enhance control over ImageModule behaviors. ModelLoader A factory interface for translating an arbitrarily complex data model into a concrete data type that can be used by an DataFetcher to obtain the data for a resource represented by the model. ModelLoaderFactory An interface for creating a ModelLoader for a given model type. LocalUriFetcherFactory Factory for obtaining a DataFetcher for a data type for a particular Uri. -
Class Summary Class Description StreamFactory Factory for loading InputStreams from asset manager Uris. FileDescriptorFactory Factory for loading ParcelFileDescriptors from asset manager Uris. AssetUriLoader Loads a specific data type from an Asset Manager Uri. ByteBufferFactory Factory for com.mobwith.imgmodule.load.model.ByteArrayLoader and . StreamFactory Factory for ByteArrayLoader and InputStream. ByteArrayLoader A base class to convert byte arrays to input streams so they can be decoded. ByteBufferEncoder Writes ByteBuffers to Files. Factory Factory for com.mobwith.imgmodule.load.model.ByteBufferFileLoader. ByteBufferFileLoader Loads ByteBuffers using NIO for File. StreamFactory Factory for loading InputStreams from data uris. DataUrlLoader A simple model loader for loading data from a Data URL String. Factory Base factory for loading data from files. StreamFactory Factory for loading InputStreams from Files. FileDescriptorFactory Factory for loading ParcelFileDescriptors from Files. FileLoader A simple model loader for loading data from Files. ImageUrl A wrapper for strings representing http/https URLs responsible for ensuring URLs are properly escaped and avoiding unnecessary URL instantiations for loaders that require only string urls rather than URL objects. Builder Adds an LazyHeaderFactory that will be used to construct a value for the given key*lazily on a background thread. LazyHeaders A wrapper class for a set of headers to be included in a ImageModule request, allowing headers to be constructed lazily. Factory ModelLoaderFactory for MediaStoreFileLoaders. MediaStoreFileLoader Loads the file path for MediaStore owned uris. ModelCache A simple cache that can be used by ModelLoader and ModelLoaderFactory to cache some data for a given model, width and height. LoadData Contains a set of Keys identifying the source of the load,alternate cache keys pointing to equivalent data, and a that can be used to fetch data not found in cache. ModelLoaderRegistry Maintains an ordered put of ModelLoaders and the model and data types they handle in order from highest priority to lowest. MultiModelLoaderFactory Capable of building an ModelLoader that wraps one or more other ModelLoaders for a given model and data class. StreamFactory Factory for loading InputStreams from Android resource ids. FileDescriptorFactory Factory for loading ParcelFileDescriptors from Android resource ids. AssetFileDescriptorFactory Loads AssetFileDescriptors from resource ids. UriFactory Factory for loading resource Uris from Android resource ids. ResourceLoader A model loader for handling Android resource files. StreamEncoder An com.mobwith.imgmodule.load.Encoder that can write an InputStream to disk. StreamFactory Factory for loading InputStreams from Strings. FileDescriptorFactory Factory for loading ParcelFileDescriptors from Strings. AssetFileDescriptorFactory Loads AssetFileDescriptors from Strings. StringLoader A model loader for handling certain string models. Factory Factory for producing com.mobwith.imgmodule.load.model.UnitModelLoaders. UnitModelLoader A put of helper classes that performs no loading and instead always returns the given model as the data to decode. StreamFactory Loads InputStreams from Uris. FileDescriptorFactory Loads ParcelFileDescriptors from Uris. AssetFileDescriptorFactory Loads AssetFileDescriptors from Uris. UriLoader A ModelLoader for Uris that handles local Uris directly and routes remote Uris to a wrapped that handles s. StreamFactory Loads InputStreams from Uris with http orhttps schemes. UrlUriLoader Handles http/https Uris by delegating to the ModelLoader for ImageModuleUrls.