software.engine
Class MeetingThree

java.lang.Object
  extended by software.common.Meeting
      extended by software.engine.MeetingThree
Direct Known Subclasses:
MeetingThree

public class MeetingThree
extends Meeting

Reveal the page chosen by the voters. Populate the intermediary colum in the D tables (D3) and compute results

Author:
Stefan

Field Summary
static java.lang.String MeetingThreeInSchema
           
static java.lang.String MeetingThreeOutSchema
           
 
Fields inherited from class software.common.Meeting
CheckagainsSchema, MeetingOneInSchema, schemaFactory
 
Constructor Summary
MeetingThree()
           
MeetingThree(org.w3c.dom.Document doc)
           
MeetingThree(java.lang.String confFile)
           
 
Method Summary
 void go(java.lang.String inFilePath, java.lang.String outputFile)
          Reveal the printing on all the receipts, compute results and populate with partial decrypted votes the D tables
static void main(java.lang.String[] args)
          debug method
 
Methods inherited from class software.common.Meeting
getC, getEs, getNumberOfBallots, getNumberOfDs, getPartitions, getProws, init, init, setEs, setNumberOfBallots, setNumberOfDs, setPartitions, setProws
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MeetingThreeInSchema

public static java.lang.String MeetingThreeInSchema

MeetingThreeOutSchema

public static java.lang.String MeetingThreeOutSchema
Constructor Detail

MeetingThree

public MeetingThree()
             throws java.lang.Exception
Throws:
java.lang.Exception

MeetingThree

public MeetingThree(org.w3c.dom.Document doc)
             throws java.lang.Exception
Throws:
java.lang.Exception

MeetingThree

public MeetingThree(java.lang.String confFile)
             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

go

public void go(java.lang.String inFilePath,
               java.lang.String outputFile)
        throws java.lang.Exception
Reveal the printing on all the receipts, compute results and populate with partial decrypted votes the D tables

Parameters:
inFilePath - - file with all the reciepts, as downloaded from the web server
outputFile - - populated P D and R tables with receipts (P), results(R) and partially decrypted votes (D)
Throws:
java.lang.Exception - - if the meeting wasn't initialized with the two master keys

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
debug method

Parameters:
args -
Throws:
java.lang.Exception