Package matchedTemplateClassifer
Class ImportTemplateCSV
java.lang.Object
matchedTemplateClassifer.ImportTemplateCSV
- All Implemented Interfaces:
TemplateImport
Import a template from a csv file.
- Author:
- Jamie Macaulay
-
Field Summary
Fields inherited from interface matchedTemplateClassifer.TemplateImport
ERROR_WAVEFORM_LENGTH, INCORRECT_FILE_FORMAT, MIN_WAVEFORM_LENGTH, NO_ERROR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the error code flag.String[]
Get extensionimportTemplate
(File filePath) Import template
-
Constructor Details
-
ImportTemplateCSV
public ImportTemplateCSV()
-
-
Method Details
-
importTemplate
Description copied from interface:TemplateImport
Import template- Specified by:
importTemplate
in interfaceTemplateImport
- Parameters:
filePath
- - the file path- Returns:
- - the match template.
-
getExtension
Get extension- Specified by:
getExtension
in interfaceTemplateImport
- Returns:
- the extension
-
getErrorCode
public int getErrorCode()Description copied from interface:TemplateImport
Get the error code flag. 0 if there was no error.- Specified by:
getErrorCode
in interfaceTemplateImport
- Returns:
- the error code flag.
-