org.mindswap.owl
Interface OWLReader
public interface OWLReader
OWLReader provides various functions to read OWL ontologies.
- Author:
- Evren Sirin
read
OWLOntology read(java.net.URI uri)
throws java.io.FileNotFoundException
- Reads the the ontology from the given URI into a model.
- Parameters:
uri - URI of the ontologywithImports - if true load the imports closure of the ontology. otherwise only
the given onotlogy is loaded, imported ones are discarded
- Returns:
- Jena model
- Throws:
java.io.FileNotFoundException
java.lang.Exception
read
OWLOntology read(java.io.Reader in,
java.net.URI baseURI)
read
OWLOntology read(java.io.InputStream in,
java.net.URI baseURI)
read
OWLOntology read(OWLKnowledgeBase kb,
java.net.URI uri)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
read
OWLOntology read(OWLKnowledgeBase kb,
java.io.Reader in,
java.net.URI uri)
read
OWLOntology read(OWLKnowledgeBase kb,
java.io.InputStream in,
java.net.URI baseURI)
getIgnoredOntologies
java.util.Set getIgnoredOntologies()
addIgnoredOntology
void addIgnoredOntology(java.net.URI uri)
setErrorHandler
void setErrorHandler(OWLErrorHandler errHandler)
getCache
OWLCache getCache()
setCache
void setCache(OWLCache cache)
setIgnoreFailedImport
void setIgnoreFailedImport(boolean ignore)
getIgnoreFailedImport
boolean getIgnoreFailedImport()
Copyright © 2004 Evren Sirin. All Rights Reserved.