Class Eoulsan2DesignReader
java.lang.Object
fr.ens.biologie.genomique.eoulsan.design.io.Eoulsan2DesignReader
- All Implemented Interfaces:
DesignReader
This class define a design reader for Eoulsan 2 design file.
- Since:
- 2.0
- Author:
- Xavier Bauquet
-
Constructor Summary
ConstructorsConstructorDescriptionEoulsan2DesignReader(DataFile file) Public constructor.Eoulsan2DesignReader(File file) Public constructor.Public constructor.Eoulsan2DesignReader(String filename) Public constructor.Eoulsan2DesignReader(Path file) Public constructor. -
Method Summary
-
Constructor Details
-
Eoulsan2DesignReader
Public constructor.- Parameters:
file- file to read- Throws:
IOException- if file cannot be opened
-
Eoulsan2DesignReader
Public constructor.- Parameters:
file- file to read- Throws:
IOException- if file cannot be opened
-
Eoulsan2DesignReader
Public constructor.- Parameters:
file- file to read- Throws:
IOException- if the stream cannot be opened
-
Eoulsan2DesignReader
Public constructor.- Parameters:
is- Input stream to read- Throws:
IOException- if the stream cannot be opened
-
Eoulsan2DesignReader
Public constructor.- Parameters:
filename- File to read- Throws:
IOException- if file cannot be opened
-
-
Method Details
-
read
Description copied from interface:DesignReaderRead the design.- Specified by:
readin interfaceDesignReader- Returns:
- a new Design object
- Throws:
IOException- if an error occurs while reading the design
-