-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.load.model.ModelLoaderFactory
public class StringLoader.StreamFactory implements ModelLoaderFactory<String, InputStream>
Factory for loading InputStreams from Strings.
-
-
Method Summary
Modifier and Type Method Description ModelLoader<String, InputStream>build(@NonNull() 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<String, InputStream> build(@NonNull() 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.
-
-
-
-