Search in sources :

Example 6 with RdfSerializer

use of nl.knaw.huygens.timbuctoo.v5.rdfio.RdfSerializer in project timbuctoo by HuygensING.

the class RawUploadRdfSaverTest method setUp.

@Before
public void setUp() throws Exception {
    rdfSerializer = mock(RdfSerializer.class);
    dataSetMetadata = new BasicDataSetMetaData("userid", "dataset", "http://timbuctoo.huygens.knaw.nl/v5/datasets/userid/dataset", "http://example.org/prefix/", false, false);
    instance = instanceWithRdfSerializer(rdfSerializer, dataSetMetadata);
}
Also used : BasicDataSetMetaData(nl.knaw.huygens.timbuctoo.v5.dataset.dto.BasicDataSetMetaData) RdfSerializer(nl.knaw.huygens.timbuctoo.v5.rdfio.RdfSerializer) Before(org.junit.Before)

Aggregations

LogStorageFailedException (nl.knaw.huygens.timbuctoo.v5.filestorage.exceptions.LogStorageFailedException)3 RdfSerializer (nl.knaw.huygens.timbuctoo.v5.rdfio.RdfSerializer)3 ImportPropertyDescriptions (nl.knaw.huygens.timbuctoo.bulkupload.parsingstatemachine.ImportPropertyDescriptions)2 RawUploadRdfSaver (nl.knaw.huygens.timbuctoo.v5.bulkupload.RawUploadRdfSaver)2 BasicDataSetMetaData (nl.knaw.huygens.timbuctoo.v5.dataset.dto.BasicDataSetMetaData)2 CachedFile (nl.knaw.huygens.timbuctoo.v5.filestorage.dto.CachedFile)2 Test (org.junit.Test)2 Stopwatch (com.google.common.base.Stopwatch)1 ByteArrayInputStream (java.io.ByteArrayInputStream)1 File (java.io.File)1 FileInputStream (java.io.FileInputStream)1 FileOutputStream (java.io.FileOutputStream)1 IOException (java.io.IOException)1 InputStream (java.io.InputStream)1 OutputStream (java.io.OutputStream)1 Charset (java.nio.charset.Charset)1 GZIPInputStream (java.util.zip.GZIPInputStream)1 GZIPOutputStream (java.util.zip.GZIPOutputStream)1 MediaType (javax.ws.rs.core.MediaType)1 Importer (nl.knaw.huygens.timbuctoo.bulkupload.parsingstatemachine.Importer)1