Interface Splitter
-
- All Known Implementing Classes:
BAMSplitter,ExpressionSplitter,FastqSplitter,SAMSplitter
public interface SplitterThis interface define a splitter.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(Set<Parameter> conf)Configure the splitter.DataFormatgetFormat()Get the format related to the splitter.voidsplit(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
-
-