org.gswing.components.output
Class ExporterMain

java.lang.Object
  extended by org.gswing.components.common.AbstractMain
      extended by org.gswing.components.output.ExporterMain
All Implemented Interfaces:
IDbAccessCallback

public class ExporterMain
extends AbstractMain

Purpose: Exports the election database to XML and CSV files. Almost obsolete.


Constructor Summary
ExporterMain()
           
 
Method Summary
 void dbAccessCallback(DbReadAccess access)
          This is the callback function that the EnterGui calls when the user has selected Ok.
 void displayMainMenu(DbReadAccess access)
          Display the users main options.
static void main(String[] args)
          Main method for the Exporter.
 
Methods inherited from class org.gswing.components.common.AbstractMain
getPath, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExporterMain

public ExporterMain()
Method Detail

main

public static void main(String[] args)
Main method for the Exporter.

Parameters:
args - Command arguments not used.

displayMainMenu

public void displayMainMenu(DbReadAccess access)
Display the users main options.


dbAccessCallback

public void dbAccessCallback(DbReadAccess access)
This is the callback function that the EnterGui calls when the user has selected Ok.

Specified by:
dbAccessCallback in interface IDbAccessCallback
Specified by:
dbAccessCallback in class AbstractMain
Parameters:
access - The database connection.


Copyright © 2008. All Rights Reserved.