Class Eoulsan2DesignWriter
java.lang.Object
fr.ens.biologie.genomique.eoulsan.design.io.Eoulsan2DesignWriter
- All Implemented Interfaces:
DesignWriter
This class implements a writer for Eoulsan 2 design files.
- Since:
- 2.0
- Author:
- Xavier Bauquet
-
Constructor Summary
ConstructorsConstructorDescriptionEoulsan2DesignWriter(DataFile file) Public constructor.Eoulsan2DesignWriter(File file) Public constructor.Public constructor.Eoulsan2DesignWriter(String filename) Public constructor.Eoulsan2DesignWriter(Path file) Public constructor. -
Method Summary
-
Constructor Details
-
Eoulsan2DesignWriter
Public constructor.- Parameters:
file- file to read- Throws:
IOException- if an error occurs while reading the file or if the file is null.
-
Eoulsan2DesignWriter
Public constructor.- Parameters:
file- file to read- Throws:
IOException- if an error occurs while reading the file or if the file is null.
-
Eoulsan2DesignWriter
Public constructor.- Parameters:
file- file to read- Throws:
IOException- if an error occurs while creating the file
-
Eoulsan2DesignWriter
Public constructor.- Parameters:
out- Output stream to read- Throws:
IOException- if the stream cannot be created
-
Eoulsan2DesignWriter
Public constructor.- Parameters:
filename- File to write- Throws:
IOException- if the file doesn't exist
-
-
Method Details
-
write
Description copied from interface:DesignWriterWrite a design.- Specified by:
writein interfaceDesignWriter- Parameters:
design- the design to write- Throws:
IOException- if an error occurs while writing the design
-