StreamFactory

open class StreamFactory : FileLoader.Factory<Data>

Factory for loading InputStreams from Files.

Constructors

Link copied to clipboard
open fun StreamFactory()

Functions

Link copied to clipboard
fun build(multiFactory: MultiModelLoaderFactory): ModelLoader<File, Data>
abstract fun build(multiFactory: MultiModelLoaderFactory): ModelLoader<T, Y>
Build a concrete ModelLoader for this model type.
Link copied to clipboard
fun teardown()
A lifecycle method that will be called when this factory is about to replaced.