|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.clarkparsia.modularity.io.IncrementalClassifierPersistence
public class IncrementalClassifierPersistence
Provides persistence for IncrementalClassifier objects.
Copyright: Copyright (c) 2009
Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
IncrementalClassifierPersistence()
|
Method Summary | |
---|---|
static IncrementalClassifier |
load(java.io.InputStream inputStream)
Loads the previously saved internal state of an incremental classifier from an output stream. |
static IncrementalClassifier |
load(java.io.InputStream inputStream,
org.semanticweb.owlapi.model.OWLOntology loadedOntology)
Loads the previously saved internal state of an incremental classifier from an output stream. |
static void |
save(IncrementalClassifier classifier,
java.io.OutputStream outputStream)
Saves the internal state of an incremental classifier to an output stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IncrementalClassifierPersistence()
Method Detail |
---|
public static void save(IncrementalClassifier classifier, java.io.OutputStream outputStream) throws java.io.IOException
classifier
- the classifier to be savedoutputStream
- the output stream where the classifier should be saved
java.io.IOException
- if an error should occur during the save operationpublic static IncrementalClassifier load(java.io.InputStream inputStream) throws java.io.IOException
ontologyManager
- the ontology managerinputStream
- the input stream containing the previously saved internal state of an incremental classifier
java.io.IOException
- if an error should occur during the reading
OWLReasonerException
public static IncrementalClassifier load(java.io.InputStream inputStream, org.semanticweb.owlapi.model.OWLOntology loadedOntology) throws java.io.IOException
ontologyManager
- the ontology managerinputStream
- the input stream containing the previously saved internal state of an incremental classifier
java.io.IOException
- if an error should occur during the reading
OWLReasonerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |