public static class ByteBufferFileLoader.Factory extends java.lang.Object implements ModelLoaderFactory<java.io.File,java.nio.ByteBuffer>
ByteBufferFileLoader.| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
ModelLoader<java.io.File,java.nio.ByteBuffer> |
build(MultiModelLoaderFactory multiFactory)
Build a concrete ModelLoader for this model type.
|
void |
teardown()
A lifecycle method that will be called when this factory is about to replaced.
|
@NonNull public ModelLoader<java.io.File,java.nio.ByteBuffer> build(@NonNull MultiModelLoaderFactory multiFactory)
ModelLoaderFactorybuild in interface ModelLoaderFactory<java.io.File,java.nio.ByteBuffer>multiFactory - A map of classes to factories that can be used to construct additional
ModelLoaders that this factory's ModelLoader may depend onModelLoaderpublic void teardown()
ModelLoaderFactoryteardown in interface ModelLoaderFactory<java.io.File,java.nio.ByteBuffer>