Class DefaultDesignReader

java.lang.Object
fr.ens.biologie.genomique.eoulsan.design.io.DefaultDesignReader
All Implemented Interfaces:
DesignReader

public class DefaultDesignReader extends Object implements DesignReader
This class allow to read a design file whatever the underlying design format.
Since:
2.0
Author:
Laurent Jourdren
  • Constructor Details

    • DefaultDesignReader

      public DefaultDesignReader(Path file) throws IOException
      Public constructor.
      Parameters:
      file - file to read
      Throws:
      FileNotFoundException - if the file cannot be found
      IOException
    • DefaultDesignReader

      public DefaultDesignReader(File file) throws IOException
      Public constructor.
      Parameters:
      file - file to read
      Throws:
      IOException - if the file cannot be found
    • DefaultDesignReader

      public DefaultDesignReader(DataFile file) throws IOException
      Public constructor.
      Parameters:
      file - file to read
      Throws:
      IOException - if an error occurs while opening the file
    • DefaultDesignReader

      public DefaultDesignReader(InputStream is) throws IOException
      Public constructor
      Parameters:
      is - Input stream to read
      Throws:
      IOException - if an error occurs while reading the file
    • DefaultDesignReader

      public DefaultDesignReader(String filename) throws IOException
      Public constructor
      Parameters:
      filename - File to read
      Throws:
      IOException - if the file doesn't exist
  • Method Details