|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unika.aifb.owltools.tools.KAON2Tool
edu.unika.aifb.owltools.tools.Diff
public class Diff
Returns all axioms that are within one, but not within the other ontology
Field Summary |
---|
Fields inherited from class edu.unika.aifb.owltools.tools.KAON2Tool |
---|
m_connection, printer |
Constructor Summary | |
---|---|
Diff()
|
Method Summary | |
---|---|
void |
compile()
Entry point for the command line based usage of the Dump owl tool |
org.semanticweb.kaon2.api.Ontology |
diff(org.semanticweb.kaon2.api.Ontology base,
org.semanticweb.kaon2.api.Ontology diff)
Creates an ontology for the output instead needing to be supplied with one. |
void |
diff(org.semanticweb.kaon2.api.Ontology base,
org.semanticweb.kaon2.api.Ontology diff,
org.semanticweb.kaon2.api.Ontology result)
Saves all the axioms that are in the diff ontology but not in base ontology in the result ontology |
static void |
main(java.lang.String[] args)
If the tool is being called from the outside, some basic processing is being done |
java.lang.String |
name()
the name of the owl tool |
static void |
printUsage()
prints the command line parameters and a short info |
boolean |
processArguments(java.lang.String[] args)
processes the command line parameteres |
Methods inherited from class edu.unika.aifb.owltools.tools.KAON2Tool |
---|
endConnection, loadOntology, printUsageError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Diff()
Method Detail |
---|
public java.lang.String name()
name
in class KAON2Tool
public static void main(java.lang.String[] args)
args
- Command line parameters. The same as for the OWLtools callpublic boolean processArguments(java.lang.String[] args)
processArguments
in class KAON2Tool
public void compile()
public org.semanticweb.kaon2.api.Ontology diff(org.semanticweb.kaon2.api.Ontology base, org.semanticweb.kaon2.api.Ontology diff) throws org.semanticweb.kaon2.api.KAON2Exception
base
- The ontology to compare todiff
- The ontology that has the extra axioms
org.semanticweb.kaon2.api.KAON2Exception
public void diff(org.semanticweb.kaon2.api.Ontology base, org.semanticweb.kaon2.api.Ontology diff, org.semanticweb.kaon2.api.Ontology result) throws org.semanticweb.kaon2.api.KAON2Exception
base
- The ontology to compare todiff
- The ontology with the extra axiomsresult
- The extra axioms are added to the result ontology
org.semanticweb.kaon2.api.KAON2Exception
public static void printUsage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |