Package Acquisition

Class FolderInputParameters

java.lang.Object
Acquisition.FileInputParameters
Acquisition.FolderInputParameters
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class FolderInputParameters extends FileInputParameters implements Serializable, Cloneable, ManagedParameters
Control parameters for FolderInputSystem
Author:
Doug Gillespie
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • subFolders

      public boolean subFolders
    • mergeFiles

      public boolean mergeFiles
  • Constructor Details

    • FolderInputParameters

      public FolderInputParameters(String systemType)
      Parameters:
      systemType -
  • Method Details

    • getSelectedFiles

      public String[] getSelectedFiles()
      Get the list of selected files as strings. If you want them as Files, call getselectedFileFiles()
      Returns:
      List of file paths in String format.
    • setSelectedFiles

      public void setSelectedFiles(String[] selectedFiles)
      Set the list of selected files
      Parameters:
      selectedFiles -
    • setSelectedFiles

      public void setSelectedFiles(File[] files)
      Set the list of selected files. Note that these are now stored as strings to avoid some serialisation problems with some subclasses of io.File
      Parameters:
      files -
    • getSelectedFileFiles

      public File[] getSelectedFileFiles()
      Get the list of selected Files, converted back to File objects from strings
      Returns:
      list of selected files.
    • 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
      Overrides:
      getParameterSet in class FileInputParameters
      Returns:
      description of the parameters in a class.