I'll do it later. Thanks for the report.
On 24/10/14 09:28, Fabian Cretton wrote:
I think I found the answer,
the context must now be specified in the ClientConfiguration.
Maybe only the doc needs an update then :-)
Thanks
Fabian
"Fabian Cretton" <fabian.cret...@hevs.ch> 24.10.2014 09:02 >>>
Hi,
I am trying to import data as explained here:
http://wiki.apache.org/marmotta/ImportData
writing java code as :
ImportClient importClient = new ImportClient(configuration);
InputStream is = new FileInputStream(new File(path));
RDFFormat format = Rio.getParserFormatForFileName(path);
importClient.uploadDataset(is, format.getDefaultMIMEType(), context);
But it seems the ImportClient.uploadDataset() now only accept two arguments, no more
accepting the "context".
Is that right ?
if so, why ? we usually need explicitly specify in which context to load data,
and it seems that
now I need to directly call the web service "/import?context="
Thank you for any help
Fabian
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 660 2747 925
e: sergio.fernan...@redlink.co
w: http://redlink.co