Interface DragAndDropHandler
- All Known Subinterfaces:
DataDragAndDropHandler
,ExperimentDataDragAndDropHandler
- All Known Implementing Classes:
AddonManagerPlugin
,TemplateLoader
public interface DragAndDropHandler
Use
DataDragAndDropHandler
or
ExperimentDataDragAndDropHandler
in case this handler processes input
files for the creation of Substance
datasets. If the handler fully
processes the input files, implement this interface.-
Method Summary
Modifier and Type Method Description boolean
canProcess(File f)
boolean
hasPriority()
boolean
process(List<File> files)
-
Method Details
-
process
-
canProcess
- Parameters:
f
- Input file to be analyzed for compatibility.- Returns:
- True, if this handler might handle the input file. E.g. based on the file extension.
-
hasPriority
boolean hasPriority()- Returns:
- True, if the handler should be called before other handlers are executed, which return False.
-