All Downloads are FREE. Search and download functionalities are using the official Maven repository.

izumi.idealingua.il.loader.LocalModelLoaderContext.scala Maven / Gradle / Ivy

The newest version!
package izumi.idealingua.il.loader

import java.io.File
import java.nio.file.Path

class LocalModelLoaderContext(src: Seq[Path], cp: Seq[File]) extends ModelLoaderContextImpl(LocalModelLoaderContext.makeEnumerator(src, cp))

object LocalModelLoaderContext {
  def makeEnumerator(src: Seq[Path], cp: Seq[File])(c: BaseModelLoadContext): LocalFilesystemEnumerator = {
    val allExts = Set(c.modelExt, c.domainExt, c.overlayExt)
    new LocalFilesystemEnumerator(src, cp, allExts)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy