Class Eoulsan2DesignReader
- java.lang.Object
- 
- fr.ens.biologie.genomique.eoulsan.design.io.Eoulsan2DesignReader
 
- 
- All Implemented Interfaces:
- DesignReader
 
 public class Eoulsan2DesignReader extends Object implements DesignReader This class define a design reader for Eoulsan 2 design file.- Since:
- 2.0
- Author:
- Xavier Bauquet
 
- 
- 
Constructor SummaryConstructors Constructor Description Eoulsan2DesignReader(DataFile file)Public constructor.Eoulsan2DesignReader(File file)Public constructor.Eoulsan2DesignReader(InputStream is)Public constructor.Eoulsan2DesignReader(String filename)Public constructor.
 
- 
- 
- 
Constructor Detail- 
Eoulsan2DesignReaderpublic Eoulsan2DesignReader(File file) throws FileNotFoundException Public constructor.- Parameters:
- file- file to read
- Throws:
- FileNotFoundException- if the file cannot be found
 
 - 
Eoulsan2DesignReaderpublic Eoulsan2DesignReader(DataFile file) throws IOException Public constructor.- Parameters:
- file- file to read
- Throws:
- IOException- if the stream cannot be opened
 
 - 
Eoulsan2DesignReaderpublic Eoulsan2DesignReader(InputStream is) throws IOException Public constructor.- Parameters:
- is- Input stream to read
- Throws:
- IOException- if the stream cannot be opened
 
 - 
Eoulsan2DesignReaderpublic Eoulsan2DesignReader(String filename) throws FileNotFoundException Public constructor.- Parameters:
- filename- File to read
- Throws:
- FileNotFoundException- if the file doesn't exist
 
 
- 
 - 
Method Detail- 
readpublic Design read() throws IOException Description copied from interface:DesignReaderRead the design.- Specified by:
- readin interface- DesignReader
- Returns:
- a new Design object
- Throws:
- IOException- if an error occurs while reading the design
 
 
- 
 
-