org.openanzo.atom
Class RDFUtils
java.lang.Object
org.openanzo.atom.RDFUtils
public class RDFUtils
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDFUtils
public RDFUtils()
writeGraph
public static void writeGraph(INamedGraph graph,
java.io.Writer writer)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeGraph
public static void writeGraph(INamedGraph graph,
java.io.OutputStream out)
throws java.lang.Exception
- Throws:
java.lang.Exception
graphToString
public static java.lang.String graphToString(INamedGraph graph)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadGraph
public static void loadGraph(INamedGraph graph,
java.io.InputStream rdf,
org.openrdf.rio.RDFFormat format)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadGraph
public static void loadGraph(INamedGraph graph,
java.lang.String rdf,
org.openrdf.rio.RDFFormat format)
throws java.lang.Exception
- Throws:
java.lang.Exception
addGraph
public static void addGraph(INamedGraph dest,
INamedGraph src)
getBasicGraph
public static INamedGraph getBasicGraph()
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.