public class DAVIDParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EOL
The end of line separator token "\n".
|
static java.lang.String |
SEP
The column separation token "\t".
|
Constructor and Description |
---|
DAVIDParser() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The main method.
|
static void |
writeChartReport(java.lang.String fileName,
sample.session.service.xsd.SimpleChartRecord[] simpleChartRecords)
Parse DAVID's ChartReport and write them to a file using a StringBuffer.
|
static void |
writeGeneClusterReport(java.lang.String fileName,
sample.session.service.xsd.SimpleGeneClusterRecord[] simpleGeneClusterRecords)
Parse DAVID's ClusterReport and write them to a file using a StringBuffer.
|
static void |
writeListReport(java.lang.String fileName,
david.xsd.ListRecord[] listRecords,
java.lang.String idType)
Parse DAVID's ListReport and write them to a file using a StringBuffer.
|
static void |
writeSummaryReport(java.lang.String fileName,
david.xsd.MainSummaryRecord[] mainSummaryRecords)
Parse DAVID's SummaryReport and write them to a file using a StringBuffer.
|
static void |
writeTableReport(java.lang.String fileName,
david.xsd.TableRecord[] tableRecords)
Parse DAVID's TableReport and write them to a file using a StringBuffer.
|
static void |
writeTermClusterReport(java.lang.String fileName,
sample.session.service.xsd.SimpleTermClusterRecord[] simpleTermClusterRecords)
Parse DAVID's TermClusterReport and write them to a file using a StringBuffer.
|
public static final java.lang.String SEP
public static final java.lang.String EOL
public static void writeChartReport(java.lang.String fileName, sample.session.service.xsd.SimpleChartRecord[] simpleChartRecords)
fileName
- String with the output file name.simpleChartRecords
- returned by DAVID's ChartReport output.public static void writeTableReport(java.lang.String fileName, david.xsd.TableRecord[] tableRecords)
fileName
- String with the output file name.tableRecords
- returned by DAVID's TableReport output.public static void writeGeneClusterReport(java.lang.String fileName, sample.session.service.xsd.SimpleGeneClusterRecord[] simpleGeneClusterRecords)
fileName
- String with the output file name.simpleGeneClusterRecords
- returned by DAVID's ClusterReport output.public static void writeTermClusterReport(java.lang.String fileName, sample.session.service.xsd.SimpleTermClusterRecord[] simpleTermClusterRecords)
fileName
- String with the output file name.simpleTermClusterRecords
- returned by DAVID's TermClusterReport output.public static void writeListReport(java.lang.String fileName, david.xsd.ListRecord[] listRecords, java.lang.String idType)
fileName
- String with the output file name.listRecords
- returned by DAVID's ListReport output.idType
- String with DAVID's used id type for the specified list.public static void writeSummaryReport(java.lang.String fileName, david.xsd.MainSummaryRecord[] mainSummaryRecords)
fileName
- String with the output file name.mainSummaryRecords
- returned by DAVID's SummaryReport output.public static void main(java.lang.String[] args) throws java.lang.Exception
args
- the arguments (not used)java.lang.Exception
- Signals that an I/O exception has occurred.