View Javadoc

1   /*
2    *                Doelan development code
3    *
4    * This code may be freely distributed and modified under the
5    * terms of the GNU General Public Licence.  This should
6    * be distributed with the code. If you do not have a copy,
7    * see:
8    *
9    *      http://www.gnu.org/copyleft/gpl.txt
10   *
11   * Copyright (c) 2004-2005 ENS Microarray Platform
12   * Copyright for this code is held jointly by the individual
13   * authors.  These should be listed in @author doc comments.
14   *
15   * For more information on the Doelan project and its aims,
16   * or to join the Doelan mailing list, visit the home page
17   * at:
18   *
19   *      http://www.transcriptome.ens.fr/doelan
20   */
21  
22  package fr.ens.transcriptome.doelan.io;
23  
24  import fr.ens.transcriptome.doelan.DoelanException;
25  import fr.ens.transcriptome.doelan.data.QualityTestSuiteList;
26  
27  /***
28   * This interface defines generics methods to read and write test suites
29   * parameters.
30   *
31   * @author Laurent Jourdren
32   */
33  public interface QualityTestSuiteListIO {
34  
35    /***
36     * Write a test suite
37     * @param list Test suite list to write
38     * @throws DoelanException if an error occurs while reading data
39     */
40    void write(QualityTestSuiteList list) throws DoelanException;
41  
42    /***
43     * Read a test suite list.
44     * @return A new QualityTestSuiteList object
45     * @throws DoelanException if an error occurs while wrinting data
46     */
47    QualityTestSuiteList read() throws DoelanException;
48  
49  }