|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.larkc.shared.SerializationHelper
public class SerializationHelper
Utility class for RDF serialization.
| Constructor Summary | |
|---|---|
SerializationHelper()
|
|
| Method Summary | |
|---|---|
static java.util.Set<org.openrdf.model.Statement> |
convertToSet(SetOfStatements statements)
Converts a eu.larkc.core.data.SetOfStatements to a
java.util.Set<Statement> |
static void |
printSetOfStatements(java.util.Collection<org.openrdf.model.Statement> stmtList,
java.io.OutputStream outputStream,
org.openrdf.rio.RDFFormat format)
Prints the list of statements to the given output Stream. |
static void |
printSetOfStatements(SetOfStatements statements,
java.io.OutputStream outputStream,
org.openrdf.rio.RDFFormat format)
Prints the list of statements to the given output Stream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerializationHelper()
| Method Detail |
|---|
public static void printSetOfStatements(java.util.Collection<org.openrdf.model.Statement> stmtList,
java.io.OutputStream outputStream,
org.openrdf.rio.RDFFormat format)
System.out to print to stdout.
stmtList - the list of statementsoutputStream - the output stream to which to print. Call with
System.out to print to stdout.format - the RDFFormat which is used for serialization
public static void printSetOfStatements(SetOfStatements statements,
java.io.OutputStream outputStream,
org.openrdf.rio.RDFFormat format)
System.out to print to stdout.
statements - the set of statementsoutputStream - the output stream to which to print. Call with
System.out to print to stdout.format - the RDFFormat which is used for serializationpublic static java.util.Set<org.openrdf.model.Statement> convertToSet(SetOfStatements statements)
eu.larkc.core.data.SetOfStatements to a
java.util.Set<Statement>
statements - the eu.larkc.core.data.SetOfStatements to convert
java.util.Set<Statement> containing the
statements
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||