new Add(
Wednesday, 21 September 2016 · 2 messages
JH
Jens Huelscher21 Sep 2016 15:55 #
Hello,
can someone please give an example in java of
context = new Context();
new Open("DBexample").execute(context);
new Add(Target,Path)?????
I want to add a dir to "DBexample".
new Add("C:\\Users\\jens\\BaseXData\\DBexample", "input\foo"); does not work
v7.3.1
Thank you!
CG
Christian Grün21 Sep 2016 18:10 #
Hi Jens,
Quoted text · Jens Huelscher · 1 line
> can someone please give an example in java of
Please have a look at our JavaDoc:
https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/basex/core/cmd/Add.java#L41-L46
Cheers,
Christian
Quoted text · Jens Huelscher · 12 lines
> context = new Context(); > new Open("DBexample").execute(context); > new Add(Target,Path)????? > > I want to add a dir to "DBexample". > > new Add("C:\\Users\\jens\\BaseXData\\DBexample", "input\foo"); > does not work > > v7.3.1 > > Thank you!
Written for BaseX 8.5. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery