uk.ac.ebi.adfconverter.tools.exporter
Class ADFExporter

java.lang.Object
  extended byuk.ac.ebi.adfconverter.tools.exporter.ADFExporter

public class ADFExporter
extends java.lang.Object

Class used to export ADF data objects in ADF files (One workbook or 2-3 plain text files)

Version:
1 06 September 2004
Author:
Pierre MARGUERITE

Constructor Summary
ADFExporter(java.util.Properties exporterProperties)
          Constructor for class initialisation init the default output file format, if not specified
ADFExporter(java.lang.String _fileStructureFileDirectory)
          Constructor of th ADF exporter init unMoveable Items Do nothing
 
Method Summary
static void export(ADFJava adfJava, boolean curated)
          Export a ADFJava object in ADF files
static void export(ADFJava adfJava, int fileFormat, boolean isCuratedADF)
          Export a ADFJava object in ADF files By default, the ADF is export as plain text file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ADFExporter

public ADFExporter(java.util.Properties exporterProperties)
Constructor for class initialisation init the default output file format, if not specified

Parameters:
exporterProperties - the properties from the configuration file to initialised the class

ADFExporter

public ADFExporter(java.lang.String _fileStructureFileDirectory)
            throws ADFExporterInitException
Constructor of th ADF exporter init unMoveable Items Do nothing

Parameters:
_fileStructureFileDirectory - the directory containing all ADF structure definition files.
Throws:
ADFExporterInitException - if an error occurs during exporter initialisation
Method Detail

export

public static void export(ADFJava adfJava,
                          boolean curated)
Export a ADFJava object in ADF files

Parameters:
adfJava - the converted ADF File (the adh)
curated - if the ADF file is curation saving

export

public static void export(ADFJava adfJava,
                          int fileFormat,
                          boolean isCuratedADF)
Export a ADFJava object in ADF files By default, the ADF is export as plain text file

Parameters:
adfJava - the converted ADF File (the adh)
fileFormat - the output file format ( from DataTable)
isCuratedADF - indicated if the given ADF is obtain by curation or not. If yes, an _curated_ is added before the file extension


European Bioinformatics InstituteMicroarray Informatics Team