public class SimpleOntologyToByteConverter extends Object implements OntologyToByteConverter
| Constructor and Description |
|---|
SimpleOntologyToByteConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.semanticweb.owlapi.model.OWLOntology |
convert(byte[] bytes,
org.semanticweb.owlapi.model.OWLOntologyManager manager)
Convert bytes into an Ontology registered with manager.
|
byte[] |
convert(org.semanticweb.owlapi.model.OWLOntology ontology)
Convert the ontology into a byte array.
|
public SimpleOntologyToByteConverter()
public byte[] convert(org.semanticweb.owlapi.model.OWLOntology ontology)
OntologyToByteConverterconvert in interface OntologyToByteConverterontology - The ontology to convert to a byte array.public org.semanticweb.owlapi.model.OWLOntology convert(byte[] bytes, org.semanticweb.owlapi.model.OWLOntologyManager manager)
OntologyToByteConverterconvert in interface OntologyToByteConverterbytes - The bytes to convert to an OWLOntologymanager - The Ontology Manager to load the ontology with.
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann