public class Test extends Object
java -Xmx1024m -jar examtt-1.1.jar exam.properties input.xml output.xml
Modifier and Type | Class and Description |
---|---|
static class |
Test.ShutdownHook |
Constructor and Description |
---|
Test() |
Modifier and Type | Method and Description |
---|---|
static void |
createReports(ExamModel model,
Assignment<Exam,ExamPlacement> assignment,
File outDir,
String outName)
Generate exam reports
|
static void |
main(String[] args)
Main program
|
static void |
setupLogging(File logFile,
boolean debug)
Setup log4j logging
|
public Test()
public static void setupLogging(File logFile, boolean debug)
logFile
- log filedebug
- true if debug messages should be logged (use -Ddebug=true to
enable debug message)public static void createReports(ExamModel model, Assignment<Exam,ExamPlacement> assignment, File outDir, String outName) throws IOException
model
- problem modelassignment
- current assignmentoutDir
- output folderoutName
- output file name prefixIOException
- may be thrown when writing fails