Class TemplateLoader
java.lang.Object
de.ipk_gatersleben.ag_pbi.datahandling.TemplateLoader
- All Implemented Interfaces:
DragAndDropHandler,ExperimentDataDragAndDropHandler
public abstract class TemplateLoader extends Object implements ExperimentDataDragAndDropHandler
-
Constructor Summary
Constructors Constructor Description TemplateLoader() -
Method Summary
Modifier and Type Method Description booleancanProcess(File f)booleanhasPriority()booleanprocess(List<File> files)voidregisterLoader()voidsetExperimentDataReceiver(ExperimentDataPresenter receiver)abstract StringtoString()
-
Constructor Details
-
TemplateLoader
public TemplateLoader()
-
-
Method Details
-
registerLoader
public void registerLoader() -
hasPriority
public boolean hasPriority()- Specified by:
hasPriorityin interfaceDragAndDropHandler- Returns:
- True, if the handler should be called before other handlers are executed, which return False.
-
canProcess
- Specified by:
canProcessin interfaceDragAndDropHandler- 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.
-
toString
-
process
- Specified by:
processin interfaceDragAndDropHandler
-
setExperimentDataReceiver
- Specified by:
setExperimentDataReceiverin interfaceExperimentDataDragAndDropHandler
-