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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the error code flag.String[]Get extensionimportTemplate(File filePath) Import template
-
Constructor Details
-
ImportTemplateCSV
public ImportTemplateCSV()
-
-
Method Details
-
importTemplate
Description copied from interface:TemplateImportImport template- Specified by:
importTemplatein interfaceTemplateImport- Parameters:
filePath- - the file path- Returns:
- - the match template.
-
getExtension
Get extension- Specified by:
getExtensionin interfaceTemplateImport- Returns:
- the extension
-
getErrorCode
public int getErrorCode()Description copied from interface:TemplateImportGet the error code flag. 0 if there was no error.- Specified by:
getErrorCodein interfaceTemplateImport- Returns:
- the error code flag.
-