ca.pfv.spmf.tools.dataset_converter
Class SequenceDatabaseConverter
- java.lang.Object
-
- ca.pfv.spmf.tools.dataset_converter.SequenceDatabaseConverter
-
public class SequenceDatabaseConverter extends java.lang.ObjectThis class is for converting sequence databases from various formats to the SPMF format.- See Also:
Formats
-
-
Constructor Summary
Constructors Constructor and Description SequenceDatabaseConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidconvert(java.lang.String input, java.lang.String output, Formats inputFileformat, int lineCount)This method converts a sequence database from a given format to the SPMF format.
-
-
-
Method Detail
-
convert
public void convert(java.lang.String input, java.lang.String output, Formats inputFileformat, int lineCount) throws java.io.IOExceptionThis method converts a sequence database from a given format to the SPMF format.- Parameters:
input- the path of the input fileoutput- the path of the file to be written to disk in SPMF formatinputFileformat- the format of the input filelineCount- the number of lines from the input file that should be converted- Throws:
java.io.IOException- an exception is thrown if there is an error reading/writing files
-
-
DMelt 3.0 © DataMelt by jWork.ORG