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
FieldsFields 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[]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:TemplateImportImport template- Specified by:
 importTemplatein interfaceTemplateImport- Parameters:
 filePath- - the file path- Returns:
 - - the match template.
 
 - 
getExtension
Description copied from interface:TemplateImportFile extensions which can be used with this.- Specified by:
 getExtensionin interfaceTemplateImport- Returns:
 - the file extensions.
 
 - 
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.
 
 
 -