|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcic.wsd.testing.XLSWriter
public final class XLSWriter
Class for writing the test result in XLS format.
Field Summary | |
---|---|
(package private) static jxl.write.WritableCellFormat |
boldnumber
|
(package private) static jxl.write.WritableCellFormat |
number
|
Constructor Summary | |
---|---|
XLSWriter()
|
Method Summary | |
---|---|
private static void |
addDecisionsDetailSheet(jxl.write.WritableSheet sheet,
java.util.ArrayList<Test> tests)
Writes a decision detail sheet. |
private static void |
addDecisionsSumSheet(jxl.write.WritableSheet sheet,
java.util.ArrayList<Test> tests)
Writes a summary of the decisions made. |
private static void |
addHeader(jxl.write.WritableSheet sheet,
java.util.ArrayList<Test> tests)
Sheet describing the file contents. |
private static void |
addMiscSheet(jxl.write.WritableSheet sheet,
java.util.ArrayList<Test> tests)
Adds a sheet with some interesting summaries. |
private static void |
addPerformanceSheet(jxl.write.WritableSheet sheet,
java.util.ArrayList<Test> tests)
Writes a summary of the performance of the algorithm. |
private static void |
addProblemSummary(jxl.write.WritableSheet sheet,
java.util.ArrayList<Test> tests)
Generates a summary of the lemmas on the test-bed |
static void |
writeXLS(java.io.File file,
java.util.ArrayList<Test> tests,
boolean detailed)
Writes an XLS file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static jxl.write.WritableCellFormat number
static jxl.write.WritableCellFormat boldnumber
Constructor Detail |
---|
public XLSWriter()
Method Detail |
---|
public static void writeXLS(java.io.File file, java.util.ArrayList<Test> tests, boolean detailed) throws java.lang.Exception
file
- File to be created.tests
- The tests to be included in the file.detailed
- Tells if a decisions detail sheet will be added to the document.
java.lang.Exception
private static void addHeader(jxl.write.WritableSheet sheet, java.util.ArrayList<Test> tests) throws java.lang.Exception
sheet
- The sheet to be filled.tests
- Tests included in this file.
java.lang.Exception
private static void addDecisionsDetailSheet(jxl.write.WritableSheet sheet, java.util.ArrayList<Test> tests) throws java.lang.Exception
sheet
- The sheet to be created.tests
- Data for creating the sheet.
java.lang.Exception
private static void addDecisionsSumSheet(jxl.write.WritableSheet sheet, java.util.ArrayList<Test> tests) throws java.lang.Exception
sheet
- The sheet to write to.tests
- Data for creating the sheet.
java.lang.Exception
private static void addProblemSummary(jxl.write.WritableSheet sheet, java.util.ArrayList<Test> tests) throws java.lang.Exception
sheet
- The sheet to write to.tests
- Data for creating the sheet.
java.lang.Exception
private static void addPerformanceSheet(jxl.write.WritableSheet sheet, java.util.ArrayList<Test> tests) throws java.lang.Exception
sheet
- The sheet to write to.tests
- Data for creating the sheet.
java.lang.Exception
private static void addMiscSheet(jxl.write.WritableSheet sheet, java.util.ArrayList<Test> tests) throws java.lang.Exception
sheet
- The sheet to be filled.tests
- The tests to be included on this file.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |