owltools.cli
Class CommandRunner

java.lang.Object
  extended by owltools.cli.CommandRunner

public class CommandRunner
extends Object

An instance of this class can execute owltools commands in sequence. This is typically wrapper from within a main() method

Author:
cjm

Nested Class Summary
 class CommandRunner.OptionException
           
 class CommandRunner.Opts
           
 
Constructor Summary
CommandRunner()
           
 
Method Summary
 void help()
           
 void helpFooter()
           
 List<String> parseArgString(String str)
           
 org.semanticweb.owlapi.model.OWLClass resolveClass(String id)
           
 org.semanticweb.owlapi.model.OWLObject resolveEntity(CommandRunner.Opts opts)
           
 org.semanticweb.owlapi.model.OWLObject resolveEntity(String id)
           
 Set<org.semanticweb.owlapi.model.OWLObject> resolveEntityList(CommandRunner.Opts opts)
           
 org.semanticweb.owlapi.model.OWLObjectProperty resolveObjectProperty(String id)
           
 void run(CommandRunner.Opts opts)
           
 void run(String[] args)
           
 void summarizeOntology(org.semanticweb.owlapi.model.OWLOntology ont)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandRunner

public CommandRunner()
Method Detail

parseArgString

public List<String> parseArgString(String str)

run

public void run(String[] args)
         throws org.semanticweb.owlapi.model.OWLOntologyCreationException,
                IOException,
                org.obolibrary.oboformat.model.FrameMergeException,
                SimEngine.SimilarityAlgorithmException,
                org.semanticweb.owlapi.model.OWLOntologyStorageException,
                CommandRunner.OptionException,
                URISyntaxException
Throws:
org.semanticweb.owlapi.model.OWLOntologyCreationException
IOException
org.obolibrary.oboformat.model.FrameMergeException
SimEngine.SimilarityAlgorithmException
org.semanticweb.owlapi.model.OWLOntologyStorageException
CommandRunner.OptionException
URISyntaxException

run

public void run(CommandRunner.Opts opts)
         throws org.semanticweb.owlapi.model.OWLOntologyCreationException,
                IOException,
                org.obolibrary.oboformat.model.FrameMergeException,
                SimEngine.SimilarityAlgorithmException,
                org.semanticweb.owlapi.model.OWLOntologyStorageException,
                CommandRunner.OptionException,
                URISyntaxException
Throws:
org.semanticweb.owlapi.model.OWLOntologyCreationException
IOException
org.obolibrary.oboformat.model.FrameMergeException
SimEngine.SimilarityAlgorithmException
org.semanticweb.owlapi.model.OWLOntologyStorageException
CommandRunner.OptionException
URISyntaxException

summarizeOntology

public void summarizeOntology(org.semanticweb.owlapi.model.OWLOntology ont)

resolveEntityList

public Set<org.semanticweb.owlapi.model.OWLObject> resolveEntityList(CommandRunner.Opts opts)

resolveEntity

public org.semanticweb.owlapi.model.OWLObject resolveEntity(CommandRunner.Opts opts)

resolveEntity

public org.semanticweb.owlapi.model.OWLObject resolveEntity(String id)

resolveObjectProperty

public org.semanticweb.owlapi.model.OWLObjectProperty resolveObjectProperty(String id)

resolveClass

public org.semanticweb.owlapi.model.OWLClass resolveClass(String id)

help

public void help()

helpFooter

public void helpFooter()


Copyright © 2010-2012. All Rights Reserved.