|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.export.spotdata.AbstractBioAssaySetExporter net.sf.basedb.util.export.spotdata.BaseFileExporter net.sf.basedb.util.export.spotdata.SerialBaseFileExporter
public class SerialBaseFileExporter
Exporter implementation that exports bioassay set data as a serial BASEfile.
Field Summary | |
---|---|
private List<BioAssay> |
bioAssays
|
private DynamicSpotQuery |
countQuery
|
private int |
nextBioAssay
|
private BaseFileWriter |
out
|
private long |
spotCount
|
private DynamicSpotQuery |
spotQuery
|
static String |
SUBTYPE
|
Constructor Summary | |
---|---|
SerialBaseFileExporter()
Create a new serial BASEfile exporter. |
Method Summary | |
---|---|
protected void |
beginExport()
Prepare the export by pre-loading some information and configure the queries that we are going to use. |
protected void |
endExport(RuntimeException e)
End the export and clean up/close all aquired resources. |
protected void |
exportSectionData()
Exports data for the current bioassay in a 'spots' section. |
protected boolean |
exportSectionFooter()
Ends the current 'spots' section. |
protected void |
exportSectionHeader()
Exports headers for a 'spots' section, and make preparations for the current data section (one section per bioassay). |
Methods inherited from class net.sf.basedb.util.export.spotdata.BaseFileExporter |
---|
addAssayField, addAssayFields, addReporterField, addReporterFields, addSpotField, addSpotFields, exportAssaysSectionData, exportAssaysSectionHeaders, exportGlobalHeader, exportSettingsSection, exportSpotSectionData, exportSpotSectionHeaders, getAssayFields, getAverageOnReporter, getBaseFileWriter, getCountQuery, getParameter, getReporterFields, getSpotFields, setAverageOnReporter, setParameter, setWriter |
Methods inherited from class net.sf.basedb.util.export.spotdata.AbstractBioAssaySetExporter |
---|
addExperimentalFactorsAsAssayFields, cacheReporterData, checkInterrupted, copyReporterFields, doExport, exportGlobalFooter, getAssayIndex, getBioAssays, getDbControl, getProgressReporter, getReporterQuery, getSnapshotManager, getSource, getSpotQuery, prepareAssayIndexMap, setDbControl, setProgress, setProgressReporter, setSnapshotManager, setSource, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SUBTYPE
private List<BioAssay> bioAssays
private int nextBioAssay
private BaseFileWriter out
private DynamicSpotQuery spotQuery
private DynamicSpotQuery countQuery
private long spotCount
Constructor Detail |
---|
public SerialBaseFileExporter()
Method Detail |
---|
protected void beginExport()
beginExport
in class BaseFileExporter
protected void exportSectionHeader()
exportSectionHeader
in class AbstractBioAssaySetExporter
protected void exportSectionData()
exportSectionData
in class AbstractBioAssaySetExporter
protected boolean exportSectionFooter()
exportSectionFooter
in class AbstractBioAssaySetExporter
protected void endExport(RuntimeException e)
AbstractBioAssaySetExporter
endExport
in class AbstractBioAssaySetExporter
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |