net.sourceforge.neurosdbm
Class NeurosDBM

java.lang.Object
  extended bynet.sourceforge.neurosdbm.NeurosDBM

public class NeurosDBM
extends java.lang.Object

This is the main driver for the NeurosDBM program. There are two paths of execution in this code, GUI or CLI. If a command line option is entered, then the command line parser is done in the main method, and the appropriate method is called. If no command line option is entered, then GUI mode is defaulted. A NeurosDBM object is created to launch the GUI startup routine, and eventually the main GUI window.


Field Summary
private  Database database
           
 
Constructor Summary
private NeurosDBM()
           
 
Method Summary
static void main(java.lang.String[] args)
           
private  void noDatabase(java.lang.String path, java.lang.Exception exception)
          This function is called when no database is found or if an error is found in the existing database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

database

private Database database
Constructor Detail

NeurosDBM

private NeurosDBM()
           throws java.io.FileNotFoundException,
                  java.io.IOException,
                  DatabaseCorruptException
Method Detail

noDatabase

private void noDatabase(java.lang.String path,
                        java.lang.Exception exception)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
This function is called when no database is found or if an error is found in the existing database. This function calls the appropriate dialog to ask the user how to handle the (dire) situation. After the response is retrieved from the user, the appropriate action is taken.

Throws:
java.io.FileNotFoundException
java.io.IOException

main

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


Copyright © 2004 NeurosDBM Dev Team All Rights Reserved.