It is the interface between CPS and the rest of the computer as well as the user : it reads configuration files, writes the results, a log file and contains the main method. More...
Classes | |
class | Interpreter |
Deals with several xml files, either reading or writing them. More...<../..> | |
class | LogWriter |
It is used to write a log file explaining the steps the program went through during its execution. More...<../..> | |
class | MainClass |
The main class of the Crowd-Powered-Sort program. More...<../..> |
It is the interface between CPS and the rest of the computer as well as the user : it reads configuration files, writes the results, a log file and contains the main method.
This package is made of three classes :
As its name indicates, it provides an easy way to write a log file. It is pretty straight forward : it has a constructor and an append method writing a given String
at the end of the file.
This class's aim is to allow an easy access to the content of the config.xml configuration file as well as writing the results of the splitsort in the results.xml file. It also saves intermediary results.
Amazingly, it is the main class of this program. It contains the main
method (in charge of parsing command line arguments and calling th right function), can display a quick help and, of course, conducts the other classes into using CrowdFlower's workers to sort media.