Generated: Sun Oct 7 15:19:11 BST 2007

org.embl.ebi.analysis
Interface DataAdaptPlugIn


public interface DataAdaptPlugIn

An interface for adapting (changing, filtering) analysis data.

The implementation classes will be usually loaded dynamically - therefore they should have a non-parameter constructor.

Version:
$Id: DataAdaptPlugIn.java,v 1.1.1.1 2005/06/15 09:00:19 marsenger Exp $
Author:
Martin Senger

Method Summary
 void process(java.lang.String dataName, java.io.InputStream source, java.io.OutputStream result)
          Read 'source' data, adapt them, and create the result back.
 void process(java.lang.String dataName, java.io.InputStream source, java.io.OutputStream result, java.util.Map properties)
          The same as process but you may specified additional requirements in the properties.
 

Method Detail

process

void process(java.lang.String dataName,
             java.io.InputStream source,
             java.io.OutputStream result)
             throws java.io.IOException,
                    org.embl.ebi.analysis.AnalysisException
Read 'source' data, adapt them, and create the result back. Because the source is identifiable, the same class may produce slightly different results dependiong on the source name.

Parameters:
dataName - identifies what data are being adapted
source - data to be read
result - data to be produced
Throws:
java.io.IOException - if there were 'physical' problems with reading or writing data
AnalysisException - if there were 'logical' problems (for example unexpected source format, or missing pieces in the source)

process

void process(java.lang.String dataName,
             java.io.InputStream source,
             java.io.OutputStream result,
             java.util.Map properties)
             throws java.io.IOException,
                    org.embl.ebi.analysis.AnalysisException
The same as process but you may specified additional requirements in the properties.

Parameters:
dataName - identifies what data are being adapted
source - data to be read
result - data to be produced
properties - define additional requirements or features of the transformation
Throws:
java.io.IOException - if there were 'physical' problems with reading or writing data
AnalysisException - if there were 'logical' problems (for example unexpected source format, or missing pieces in the source)

Generated: Sun Oct 7 15:19:11 BST 2007

Submit a bug or feature
Generated: Sun Oct 7 15:19:11 BST 2007