Class Eoulsan2DesignWriter
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.design.io.Eoulsan2DesignWriter
-
- All Implemented Interfaces:
DesignWriter
public class Eoulsan2DesignWriter extends Object implements DesignWriter
This class implements a writer for Eoulsan 2 design files.- Since:
- 2.0
- Author:
- Xavier Bauquet
-
-
Constructor Summary
Constructors Constructor Description Eoulsan2DesignWriter(DataFile file)
Public constructor.Eoulsan2DesignWriter(File file)
Public constructor.Eoulsan2DesignWriter(OutputStream out)
Public constructor.Eoulsan2DesignWriter(String filename)
Public constructor.
-
-
-
Constructor Detail
-
Eoulsan2DesignWriter
public Eoulsan2DesignWriter(File file) throws IOException
Public constructor.- Parameters:
file
- file to read- Throws:
IOException
- if an error occurs while creating the file
-
Eoulsan2DesignWriter
public Eoulsan2DesignWriter(DataFile file) throws IOException
Public constructor.- Parameters:
file
- file to read- Throws:
IOException
- if an error occurs while creating the file
-
Eoulsan2DesignWriter
public Eoulsan2DesignWriter(OutputStream out) throws IOException
Public constructor.- Parameters:
out
- Output stream to read- Throws:
IOException
- if the stream cannot be created
-
Eoulsan2DesignWriter
public Eoulsan2DesignWriter(String filename) throws FileNotFoundException
Public constructor.- Parameters:
filename
- File to write- Throws:
FileNotFoundException
- if the file doesn't exist
-
-
Method Detail
-
write
public void write(Design design) throws IOException
- Specified by:
write
in interfaceDesignWriter
- Throws:
IOException
-
-