Class IORelationGraphHelper
- java.lang.Object
-
- org.nuxeo.ecm.platform.relations.io.IORelationGraphHelper
-
public class IORelationGraphHelper extends Object
Relation graph importer/exporter.relies on Jena memory graphs to perform serialization and deserialization of memory graphs.
- Author:
- Anahide Tchertchian
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>namespacesprotected List<Statement>statements
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GraphcreateMemoryGraph()GraphgetGraph()List<Statement>getStatements()voidread(InputStream in)voidwrite(OutputStream out)
-
-
-
Field Detail
-
namespaces
protected final Map<String,String> namespaces
-
statements
protected List<Statement> statements
-
-
Method Detail
-
getStatements
public List<Statement> getStatements()
-
createMemoryGraph
protected Graph createMemoryGraph()
-
write
public void write(OutputStream out)
-
read
public void read(InputStream in)
-
-