Package matchedTemplateClassifer
Interface TemplateImport
- All Known Implementing Classes:
ImportTemplateCSV,ImportTemplateMAT
public interface TemplateImport
Interface fro importing a template
- Author:
- Jamie Macaulay
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe length of the waveform is too small.static final intThe file format is somehow incorrect.static final intThe minimum allowed waveform lengthstatic final int -
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
-
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.
-