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

flatgraph.formats.Importer.scala Maven / Gradle / Ivy

There is a newer version: 0.0.91
Show newest version
package flatgraph.formats

import org.slf4j.LoggerFactory
import flatgraph.Graph

import java.nio.file.{Path, Paths}

trait Importer {
  protected val logger = LoggerFactory.getLogger(getClass)

  def runImport(graph: Graph, inputFiles: Seq[Path]): Unit

  def runImport(graph: Graph, inputFile: Path): Unit =
    runImport(graph, Seq(inputFile))

  def runImport(graph: Graph, inputFile: String): Unit =
    runImport(graph, Paths.get(inputFile))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy