Class SoundFileType

java.lang.Object
Acquisition.filetypes.SoundFileType
Direct Known Subclasses:
SUDFileType

public abstract class SoundFileType extends Object
Some functions for the File and Folder input systems to give a bit of extra functionality / help for different file types. Primarily introduced to give a couple of extras for sud files.
Author:
dg50
  • Constructor Details

    • SoundFileType

      public SoundFileType(String fileType)
  • Method Details

    • isFileType

      public boolean isFileType(File oneFile)
      Work out if any files of this type are included in the current selection.
      Parameters:
      fileOrFolder - this for a single file.
      includeSubfolders - used with folders.
      Returns:
      true if any exist.
    • hasFileType

      public boolean hasFileType(List<WavFileType> files)
      Work out if any files of this type are included in the current selection.
      Parameters:
      fileOrFolder - this for a single file.
      includeSubfolders - used with folders.
      Returns:
      true if any exist.
    • selected

      public abstract void selected(FileInputSystem fileInputSystem)