Package clipgenerator

Class ClipSettings

java.lang.Object
clipgenerator.ClipSettings
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class ClipSettings extends Object implements Serializable, Cloneable, ManagedParameters
General clip gen settings (file location, etc. and list of more detector specific settings.
Author:
Doug Gillespie
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • STORE_WAVFILES

      public static final int STORE_WAVFILES
      See Also:
    • STORE_BINARY

      public static final int STORE_BINARY
      See Also:
    • STORE_ANNOTATION

      public static final int STORE_ANNOTATION
      See Also:
    • STORE_BOTH

      public static final int STORE_BOTH
      See Also:
    • dataSourceName

      public String dataSourceName
      Raw Audio Data source.
    • outputFolder

      public String outputFolder
      output file folder.
    • datedSubFolders

      public boolean datedSubFolders
    • storageOption

      public int storageOption
    • compressorIndex

      public int compressorIndex
      Id of compressor to use to squish data (currently only used in Annotation version, need to add to Integer version).
  • Constructor Details

    • ClipSettings

      public ClipSettings()
  • Method Details

    • clone

      public ClipSettings clone()
    • getNumClipGenerators

      public int getNumClipGenerators()
      Returns:
      the number of clip generators.
    • getClipGenSetting

      public ClipGenSetting getClipGenSetting(int i)
      Get a clip generator setting objecct
      Parameters:
      i - number of the clip generator
      Returns:
      the slip generator settings
    • findClipGenSetting

      public ClipGenSetting findClipGenSetting(String dataName)
      Find the clip generator settings for a specific data stream.
      Parameters:
      dataName - data name for the data block.
      Returns:
      clip generator settings, or null if none active.
    • clearClipGenSettings

      public void clearClipGenSettings()
      Clear all clip generator settings.
    • addClipGenSettings

      public void addClipGenSettings(ClipGenSetting clipGenSetting)
      Add a new clip gen setting to the list.
      Parameters:
      clipGenSetting -
    • replace

      public void replace(ClipGenSetting oldSetting, ClipGenSetting newSettings)
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.