|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mindswap.pellet.KBLoader
com.clarkparsia.pellet.owlapiv3.OWLAPILoader
public class OWLAPILoader
Title:
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Field Summary |
---|
Fields inherited from class org.mindswap.pellet.KBLoader |
---|
log |
Constructor Summary | |
---|---|
OWLAPILoader()
|
Method Summary | |
---|---|
void |
clear()
Resets the loader and clear any previously loaded ontologies. |
java.util.Set<org.semanticweb.owlapi.model.OWLOntology> |
getAllOntologies()
|
KnowledgeBase |
getKB()
Returns the KB instance associated with the loader. |
org.semanticweb.owlapi.model.OWLOntologyManager |
getManager()
|
org.semanticweb.owlapi.model.OWLOntology |
getOntology()
|
PelletReasoner |
getReasoner()
Returns the reasoner created by this loader. |
void |
load()
Load any previously parsed ontologies |
void |
parse(java.lang.String... fileNames)
Parse one or more files to the internal representation supported by this loader. |
void |
setIgnoreImports(boolean ignoreImports)
Instruct loader to respect or ignore imports. |
Methods inherited from class org.mindswap.pellet.KBLoader |
---|
createKB, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OWLAPILoader()
Method Detail |
---|
public KnowledgeBase getKB()
KBLoader.load()
should be called beforehand.
getKB
in class KBLoader
public org.semanticweb.owlapi.model.OWLOntologyManager getManager()
public org.semanticweb.owlapi.model.OWLOntology getOntology()
public java.util.Set<org.semanticweb.owlapi.model.OWLOntology> getAllOntologies()
public PelletReasoner getReasoner()
null
value is returned until
load()
function is called (explicitly or implicitly).
public void load()
load
in class KBLoader
public void parse(java.lang.String... fileNames)
parse
in class KBLoader
FileUtils.getFileURIs(String...)
public void setIgnoreImports(boolean ignoreImports)
setIgnoreImports
in class KBLoader
public void clear()
clear
in class KBLoader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |