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

Reply via email to