Package matchedTemplateClassifer
Interface TemplateImport
- All Known Implementing Classes:
ImportTemplateCSV
,ImportTemplateMAT
public interface TemplateImport
Interface fro importing a template
- Author:
- Jamie Macaulay
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The length of the waveform is too small.static final int
The file format is somehow incorrect.static final int
The minimum allowed waveform lengthstatic final int
-
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
-
NO_ERROR
static final int NO_ERROR- See Also:
-
ERROR_WAVEFORM_LENGTH
static final int ERROR_WAVEFORM_LENGTHThe length of the waveform is too small.- See Also:
-
INCORRECT_FILE_FORMAT
static final int INCORRECT_FILE_FORMATThe file format is somehow incorrect.- See Also:
-
MIN_WAVEFORM_LENGTH
static final int MIN_WAVEFORM_LENGTHThe minimum allowed waveform length- See Also:
-
-
Method Details
-
importTemplate
Import template- Parameters:
filePath
- - the file path- Returns:
- - the match template.
-
getExtension
String[] getExtension()File extensions which can be used with this.- Returns:
- the file extensions.
-
getErrorCode
int getErrorCode()Get the error code flag. 0 if there was no error.- Returns:
- the error code flag.
-