Search in sources :

Example 1 with Rdf4jIoFactory

use of nl.knaw.huygens.timbuctoo.v5.rdfio.implementations.rdf4j.Rdf4jIoFactory in project timbuctoo by HuygensING.

the class ImportManagerTest method makeSimpleDataSet.

@Before
public void makeSimpleDataSet() throws IOException {
    logListLocation = File.createTempFile("logList", ".json");
    logListLocation.delete();
    filesDir = Files.createTempDir();
    fileStorage = new FileSystemFileStorage(filesDir);
    this.importManager = new ImportManager(JsonFileBackedData.getOrCreate(logListLocation, LogList::new, new TypeReference<LogList>() {
    }), fileStorage, fileStorage, fileStorage, Executors.newSingleThreadExecutor(), new Rdf4jIoFactory(), () -> {
    });
}
Also used : FileSystemFileStorage(nl.knaw.huygens.timbuctoo.v5.filestorage.implementations.filesystem.FileSystemFileStorage) LogList(nl.knaw.huygens.timbuctoo.v5.dataset.dto.LogList) Rdf4jIoFactory(nl.knaw.huygens.timbuctoo.v5.rdfio.implementations.rdf4j.Rdf4jIoFactory) Before(org.junit.Before)

Aggregations

LogList (nl.knaw.huygens.timbuctoo.v5.dataset.dto.LogList)1 FileSystemFileStorage (nl.knaw.huygens.timbuctoo.v5.filestorage.implementations.filesystem.FileSystemFileStorage)1 Rdf4jIoFactory (nl.knaw.huygens.timbuctoo.v5.rdfio.implementations.rdf4j.Rdf4jIoFactory)1 Before (org.junit.Before)1