-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.load.model.ModelLoaderFactory
public class UrlLoader.StreamFactory implements ModelLoaderFactory<URL, InputStream>
Factory for loading InputStreams from URLs.
-
-
Method Summary
Modifier and Type Method Description ModelLoader<URL, InputStream>build(MultiModelLoaderFactory multiFactory)Build a concrete ModelLoader for this model type. voidteardown()A lifecycle method that will be called when this factory is about to replaced. -
-
Method Detail
-
build
@NonNull() ModelLoader<URL, InputStream> build(MultiModelLoaderFactory multiFactory)
Build a concrete ModelLoader for this model type.
- Parameters:
multiFactory- A map of classes to factories that can be used to construct additionalModelLoaders that this factory's ModelLoader may depend on
-
teardown
void teardown()
A lifecycle method that will be called when this factory is about to replaced.
-
-
-
-