public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static TreeSet<String> |
readEntriesFromXmlResult(String xmlResultsString)
Reads a string of XML results and returns a set with the entries that lie in
the results.
|
static TreeMap<String,String> |
readEntriesFromXmlResult2(String xmlResultsString)
Reads a string of XML results and returns a set with the entries that lie in
the results.
|
static ArrayList<Triple> |
readSPARQLQueryResponseTriples(String response)
Reads the RDF triples from a XML response.
|
static String |
readTemplateQuery(String templatePath)
Reads and returns a template query.
|
static String |
runSparqlQuery(String sparqlQueryPath)
Reads the response of a SPARQL query path.
|
public static String readTemplateQuery(String templatePath)
templatePath - The path of the template query.public static String runSparqlQuery(String sparqlQueryPath)
sparqlQueryPath - The SPARQL query path.public static TreeSet<String> readEntriesFromXmlResult(String xmlResultsString)
xmlResultsString - The XML results string.public static TreeMap<String,String> readEntriesFromXmlResult2(String xmlResultsString)
xmlResultsString - The XML results string.Copyright © 2016. All rights reserved.