|
||||||||||
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.Merge
public class Merge
Returns an ontology conaining all axioms from both ontologies
Field Summary |
---|
Fields inherited from class edu.unika.aifb.owltools.tools.KAON2Tool |
---|
m_connection, printer |
Constructor Summary | |
---|---|
Merge()
|
Method Summary | |
---|---|
void |
compile()
Entry point for the command line based usage of the Filter owl tool |
static void |
main(java.lang.String[] args)
To be called when used from a standalone command line tool |
org.semanticweb.kaon2.api.Ontology |
merge(org.semanticweb.kaon2.api.Ontology one,
org.semanticweb.kaon2.api.Ontology two)
Merges two ontologies |
void |
merge(org.semanticweb.kaon2.api.Ontology one,
org.semanticweb.kaon2.api.Ontology two,
org.semanticweb.kaon2.api.Ontology result)
Merges two ontologies by simply taking each axiom and adding it to a resulting ontology |
java.lang.String |
name()
the name of the tool |
static void |
printUsage()
prints the command line parameters and a short info |
boolean |
processArguments(java.lang.String[] args)
process command line arguments |
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 Merge()
Method Detail |
---|
public java.lang.String name()
name
in class KAON2Tool
public static void main(java.lang.String[] args)
args
- Command line parameterspublic boolean processArguments(java.lang.String[] args)
processArguments
in class KAON2Tool
public void compile()
public org.semanticweb.kaon2.api.Ontology merge(org.semanticweb.kaon2.api.Ontology one, org.semanticweb.kaon2.api.Ontology two) throws org.semanticweb.kaon2.api.KAON2Exception
one
- One of the ontologies to be mergedtwo
- The second ontology to be merged
org.semanticweb.kaon2.api.KAON2Exception
public void merge(org.semanticweb.kaon2.api.Ontology one, org.semanticweb.kaon2.api.Ontology two, org.semanticweb.kaon2.api.Ontology result) throws org.semanticweb.kaon2.api.KAON2Exception
one
- The first ontologytwo
- The second ontologyresult
- The resulting, merged 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 |