Class SPARQLExtCli
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.cli.SPARQLExtCli
-
public class SPARQLExtCli extends Object
Main class for the CLI interface to SPARQL-Generate; seeHDTStreamRDF
for the options.- Author:
- Maxime Lefrançois
-
-
Constructor Summary
Constructors Constructor Description SPARQLExtCli()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
exec(File workingDir, CliRequest rq)
Executes SPARQL-Generate in a working directory, withCliRequest
parametersstatic void
exec(File workingDir, CliRequest rq, org.apache.commons.cli.CommandLine cl)
Executes SPARQL-Generate in a working directory, withCliRequest
parameters, and an optional CommandLink that contains URL-URL binding for the sources in the main querystatic void
main(String[] args)
seeHDTStreamRDF
for the options.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws org.apache.commons.cli.ParseException
seeHDTStreamRDF
for the options.- Parameters:
args
-- Throws:
org.apache.commons.cli.ParseException
-
exec
public static void exec(File workingDir, CliRequest rq, org.apache.commons.cli.CommandLine cl) throws SPARQLExtException
Executes SPARQL-Generate in a working directory, withCliRequest
parameters, and an optional CommandLink that contains URL-URL binding for the sources in the main query- Parameters:
workingDir
-rq
-cl
-- Throws:
SPARQLExtException
-
exec
public static void exec(File workingDir, CliRequest rq) throws SPARQLExtException
Executes SPARQL-Generate in a working directory, withCliRequest
parameters- Parameters:
workingDir
-rq
-- Throws:
SPARQLExtException
-
-