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 Summary
FieldsModifier and TypeFieldDescriptionbooleanstatic final longbooleanDefault this to true.Fields inherited from class Acquisition.FileInputParameters
bitDepth, MAX_RECENT_FILES, realTime, recentFiles, repeatLoop, skipStartFileTime, systemType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FolderInputParametersclone()Get a set of data that describes all of the parameters in a classFile[]Get the list of selected Files, converted back to File objects from stringsString[]Get the list of selected files as strings.voidsetSelectedFiles(File[] files) Set the list of selected files.voidsetSelectedFiles(String[] selectedFiles) Set the list of selected filesMethods inherited from class Acquisition.FileInputParameters
getMostRecentFile
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
subFolders
public boolean subFoldersDefault this to true. -
mergeFiles
public boolean mergeFiles
-
-
Constructor Details
-
FolderInputParameters
- Parameters:
systemType-
-
-
Method Details
-
clone
- Overrides:
clonein classFileInputParameters
-
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
Set the list of selected files- Parameters:
selectedFiles-
-
setSelectedFiles
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
Get the list of selected Files, converted back to File objects from strings- Returns:
- list of selected files.
-
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Overrides:
getParameterSetin classFileInputParameters- Returns:
- description of the parameters in a class.
-