public class OWLIncrementalFlatFileStorageManagerListener extends Object implements org.semanticweb.owlapi.model.OWLOntologyChangeListener
| Modifier and Type | Field and Description |
|---|---|
static int |
_flushTimeInMinute |
static byte[] |
_lineSeparator |
| Constructor and Description |
|---|
OWLIncrementalFlatFileStorageManagerListener(File directory,
File log,
OWLManagerGroup owlManagerGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Put an end to the storage manager.
|
void |
flush()
Save the ontology with there current state, so the log can be empty at that moment.
|
void |
ontologiesChanged(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes) |
String |
ontology2filename(org.semanticweb.owlapi.model.OWLOntology ontology) |
public static final int _flushTimeInMinute
public static final byte[] _lineSeparator
public OWLIncrementalFlatFileStorageManagerListener(File directory, File log, OWLManagerGroup owlManagerGroup) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyCreationExceptionpublic String ontology2filename(org.semanticweb.owlapi.model.OWLOntology ontology)
public void flush()
OWLOntologyStorageException - when something bad append when storing an ontology.IOException - when something bad append when storing an ontology.FileNotFoundException - when something bad append when storing an ontology.public void ontologiesChanged(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
ontologiesChanged in interface org.semanticweb.owlapi.model.OWLOntologyChangeListenerpublic void close()
Copyright © 2018. All rights reserved.