Package Acquisition

Class DCL5System

All Implemented Interfaces:
FileDateObserver, ActionListener, EventListener, DataInputStore, PamSettings, SettingsNameProvider

public class DCL5System extends FolderInputSystem implements PamSettings
  • Constructor Details

  • Method Details

    • getSystemType

      public String getSystemType()
      Overrides:
      getSystemType in class FolderInputSystem
      Returns:
      The 'type' of data source for display in the Data Source dialog

      Calling functions should be able to handle 'null'

    • getUnitName

      public String getUnitName()
      Specified by:
      getUnitName in interface SettingsNameProvider
      Overrides:
      getUnitName in class FolderInputSystem
      Returns:
      A Name specific to this instance of the particular class, e.g. Sperm whale detector, Beaked whale detector, etc.
    • getUnitType

      public String getUnitType()
      Specified by:
      getUnitType in interface PamSettings
      Overrides:
      getUnitType in class FolderInputSystem
      Returns:
      A Name specific to the type, e.g. Click detector
    • getFileStartTime

      public long getFileStartTime(File file)
      Description copied from class: FileInputSystem
      Interpret the file name to get the file time.

      Moved to a separate function so it can be overridden in a special version for the DCL5 data set.

      Overrides:
      getFileStartTime in class FileInputSystem
      Parameters:
      file - audio file.
      Returns:
      time in milliseconds.