Package matchedTemplateClassifer
Class ImportTemplateMAT
java.lang.Object
matchedTemplateClassifer.ImportTemplateMAT
- All Implemented Interfaces:
TemplateImport
Import a .mat file of a click template.
- 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[]
File extensions which can be used with this.importTemplate
(File filePath) Import template
-
Field Details
-
errorCode
public int errorCode
-
-
Constructor Details
-
ImportTemplateMAT
public ImportTemplateMAT()
-
-
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
Description copied from interface:TemplateImport
File extensions which can be used with this.- Specified by:
getExtension
in interfaceTemplateImport
- Returns:
- the file extensions.
-
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.
-