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

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

package overflowdb.formats

import org.slf4j.LoggerFactory
import overflowdb.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