org.aksw.commons.graph
Class TripleUtils

java.lang.Object
  extended by org.aksw.commons.graph.TripleUtils

public class TripleUtils
extends Object


Constructor Summary
TripleUtils()
           
 
Method Summary
static com.hp.hpl.jena.graph.Node get(com.hp.hpl.jena.graph.Triple triple, int index)
           
static com.hp.hpl.jena.rdf.model.Model toModel(Iterable<com.hp.hpl.jena.graph.Triple> triples)
           
static com.hp.hpl.jena.rdf.model.Model toModel(Iterable<com.hp.hpl.jena.graph.Triple> triples, com.hp.hpl.jena.rdf.model.Model model)
           
static Set<com.hp.hpl.jena.graph.Triple> toTriples(Iterable<com.hp.hpl.jena.rdf.model.Statement> stmts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripleUtils

public TripleUtils()
Method Detail

toTriples

public static Set<com.hp.hpl.jena.graph.Triple> toTriples(Iterable<com.hp.hpl.jena.rdf.model.Statement> stmts)

toModel

public static com.hp.hpl.jena.rdf.model.Model toModel(Iterable<com.hp.hpl.jena.graph.Triple> triples)

toModel

public static com.hp.hpl.jena.rdf.model.Model toModel(Iterable<com.hp.hpl.jena.graph.Triple> triples,
                                                      com.hp.hpl.jena.rdf.model.Model model)

get

public static com.hp.hpl.jena.graph.Node get(com.hp.hpl.jena.graph.Triple triple,
                                             int index)


Copyright © 2012. All Rights Reserved.