Class Eoulsan1DesignReader
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.design.io.Eoulsan1DesignReader
-
- All Implemented Interfaces:
DesignReader
public class Eoulsan1DesignReader extends Object implements DesignReader
This class define a design reader for limma design files.- Since:
- 1.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description Eoulsan1DesignReader(DataFile file)
Public constructor.Eoulsan1DesignReader(File file)
Public constructor.Eoulsan1DesignReader(InputStream is)
Public constructor.Eoulsan1DesignReader(String filename)
Public constructor.
-
-
-
Constructor Detail
-
Eoulsan1DesignReader
public Eoulsan1DesignReader(File file) throws FileNotFoundException
Public constructor.- Parameters:
file
- file to read- Throws:
FileNotFoundException
- if the file cannot be found
-
Eoulsan1DesignReader
public Eoulsan1DesignReader(InputStream is) throws IOException
Public constructor.- Parameters:
is
- Input stream to read- Throws:
IOException
- if an error occurs while opening the file
-
Eoulsan1DesignReader
public Eoulsan1DesignReader(DataFile file) throws IOException
Public constructor.- Parameters:
file
- file to read- Throws:
IOException
- if an error occurs while opening the file
-
Eoulsan1DesignReader
public Eoulsan1DesignReader(String filename) throws FileNotFoundException
Public constructor.- Parameters:
filename
- File to read- Throws:
FileNotFoundException
- if the file doesn't exist
-
-
Method Detail
-
read
public Design read() throws IOException
Description copied from interface:DesignReader
Read the design.- Specified by:
read
in interfaceDesignReader
- Returns:
- a new Design object
- Throws:
IOException
- if an error occurs while reading the design
-
-