Interface TemplateImport

All Known Implementing Classes:
ImportTemplateCSV, ImportTemplateMAT

public interface TemplateImport
Interface fro importing a template
Author:
Jamie Macaulay
  • Field Details

    • NO_ERROR

      static final int NO_ERROR
      See Also:
    • ERROR_WAVEFORM_LENGTH

      static final int ERROR_WAVEFORM_LENGTH
      The length of the waveform is too small.
      See Also:
    • INCORRECT_FILE_FORMAT

      static final int INCORRECT_FILE_FORMAT
      The file format is somehow incorrect.
      See Also:
    • MIN_WAVEFORM_LENGTH

      static final int MIN_WAVEFORM_LENGTH
      The minimum allowed waveform length
      See Also:
  • Method Details

    • importTemplate

      MatchTemplate importTemplate(File filePath)
      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.