edu.unika.aifb.owltools.server
Class Server

java.lang.Object
  extended by edu.unika.aifb.owltools.tools.KAON2Tool
      extended by edu.unika.aifb.owltools.server.Server

public class Server
extends KAON2Tool


Field Summary
 
Fields inherited from class edu.unika.aifb.owltools.tools.KAON2Tool
m_connection, printer
 
Constructor Summary
Server()
           
 
Method Summary
 void compile()
           
static void main(java.lang.String[] args)
           
 java.lang.String name()
          the name of the specified tool.
static void printUsage()
          prints the command line parameters and a short info
 boolean processArguments(java.lang.String[] args)
          needs to be implemented by all tools: processArgument to process all the given command line arguments
static void server(org.semanticweb.kaon2.api.Ontology ontology, org.mortbay.http.HttpServer localserver)
           
static void stop(org.mortbay.http.HttpServer localserver)
           
 
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

Server

public Server()
Method Detail

name

public java.lang.String name()
Description copied from class: KAON2Tool
the name of the specified tool. Needs to be implemented by all tools

Specified by:
name in class KAON2Tool
Returns:
the name of the tool

main

public static void main(java.lang.String[] args)

processArguments

public boolean processArguments(java.lang.String[] args)
Description copied from class: KAON2Tool
needs to be implemented by all tools: processArgument to process all the given command line arguments

Specified by:
processArguments in class KAON2Tool

server

public static void server(org.semanticweb.kaon2.api.Ontology ontology,
                          org.mortbay.http.HttpServer localserver)
                   throws org.semanticweb.kaon2.api.KAON2Exception
Throws:
org.semanticweb.kaon2.api.KAON2Exception

stop

public static void stop(org.mortbay.http.HttpServer localserver)

compile

public void compile()

printUsage

public static void printUsage()
prints the command line parameters and a short info