All Known Implementing Classes:
BAMSplitter, ExpressionSplitter, FastqSplitter, SAMSplitter

public interface Splitter
This interface define a splitter.
Since:
2.0
Author:
Laurent Jourdren
  • Method Details

    • getFormat

      DataFormat getFormat()
      Get the format related to the splitter.
      Returns:
      a DataFormat object
    • configure

      void configure(Set<Parameter> conf) throws EoulsanException
      Configure the splitter.
      Parameters:
      conf - configuration
      Throws:
      EoulsanException - if the configuration is invalid
    • split

      void split(DataFile inFile, Iterator<DataFile> outFileIterator) throws IOException
      Split data.
      Parameters:
      inFile - input DataFile
      outFileIterator - iterator over DataFile to create
      Throws:
      IOException - if an error occurs while split data