Interface Splitter
-
- All Known Implementing Classes:
BAMSplitter
,ExpressionSplitter
,FastqSplitter
,SAMSplitter
public interface Splitter
This interface define a splitter.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(Set<Parameter> conf)
Configure the splitter.DataFormat
getFormat()
Get the format related to the splitter.void
split(DataFile inFile, Iterator<DataFile> outFileIterator)
Split data.
-
-
-
Method Detail
-
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 DataFileoutFileIterator
- iterator over DataFile to create- Throws:
IOException
- if an error occurs while split data
-
-