|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mindswap.pellet.KBLoader
org.mindswap.pellet.jena.JenaLoader
public class JenaLoader
Title:
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Field Summary |
---|
Fields inherited from class org.mindswap.pellet.KBLoader |
---|
log |
Constructor Summary | |
---|---|
JenaLoader()
|
Method Summary | |
---|---|
void |
clear()
Resets the loader and clear any previously loaded ontologies. |
PelletInfGraph |
getGraph()
|
KnowledgeBase |
getKB()
Returns the KB instance associated with the loader. |
com.hp.hpl.jena.ontology.OntModel |
getModel()
|
void |
load()
Load any previously parsed ontologies |
void |
setInputFormat(java.lang.String inputFormat)
Used for the Jena loader |
Methods inherited from class org.mindswap.pellet.KBLoader |
---|
createKB, parse, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JenaLoader()
Method Detail |
---|
public PelletInfGraph getGraph()
public KnowledgeBase getKB()
KBLoader.load()
should be called beforehand.
getKB
in class KBLoader
public com.hp.hpl.jena.ontology.OntModel getModel()
public void load()
load
in class KBLoader
public void clear()
clear
in class KBLoader
public void setInputFormat(java.lang.String inputFormat)
inputFormat
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |