org.openprovenance.elmo
Class RepositoryHelper
java.lang.Object
org.openprovenance.elmo.RepositoryHelper
public class RepositoryHelper
- extends Object
Method Summary |
void |
dumpToRDF(File file,
org.openrdf.elmo.sesame.SesameManager manager,
org.openrdf.rio.RDFFormat format,
Collection<String[]> prefixes)
|
static void |
main(String[] args)
|
void |
rdfToXml(String fileIn,
String fileOut,
String NS,
String graphId)
|
void |
readFromRDF(File file,
String uri,
org.openrdf.elmo.sesame.SesameManager manager,
org.openrdf.rio.RDFFormat format)
|
void |
registerConcepts(org.openrdf.elmo.ElmoModule module)
|
void |
setPrefixes(org.openrdf.rio.RDFHandler serialiser,
Collection<String[]> prefixes)
|
void |
xmlToN3(String fileIn,
String fileOut,
String NS,
String gid)
|
void |
xmlToRdf(String fileIn,
String fileOut,
String NS,
String gid)
|
void |
xmlToRdf(String fileIn,
String fileOut,
String NS,
String gid,
org.openrdf.rio.RDFFormat format)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryHelper
public RepositoryHelper()
registerConcepts
public void registerConcepts(org.openrdf.elmo.ElmoModule module)
setPrefixes
public void setPrefixes(org.openrdf.rio.RDFHandler serialiser,
Collection<String[]> prefixes)
throws org.openrdf.rio.RDFHandlerException
- Throws:
org.openrdf.rio.RDFHandlerException
dumpToRDF
public void dumpToRDF(File file,
org.openrdf.elmo.sesame.SesameManager manager,
org.openrdf.rio.RDFFormat format,
Collection<String[]> prefixes)
throws Exception
- Throws:
Exception
readFromRDF
public void readFromRDF(File file,
String uri,
org.openrdf.elmo.sesame.SesameManager manager,
org.openrdf.rio.RDFFormat format)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
rdfToXml
public void rdfToXml(String fileIn,
String fileOut,
String NS,
String graphId)
throws Exception
- Throws:
Exception
xmlToRdf
public void xmlToRdf(String fileIn,
String fileOut,
String NS,
String gid)
throws Exception
- Throws:
Exception
xmlToN3
public void xmlToN3(String fileIn,
String fileOut,
String NS,
String gid)
throws Exception
- Throws:
Exception
xmlToRdf
public void xmlToRdf(String fileIn,
String fileOut,
String NS,
String gid,
org.openrdf.rio.RDFFormat format)
throws Exception
- Throws:
Exception
Copyright © 2011. All Rights Reserved.