Package dataLoad
Class FullDataLoaderFactory
- java.lang.Object
-
- dataLoad.FullDataLoaderFactory
-
public class FullDataLoaderFactory extends java.lang.Object
FullDataLoaderFactory
Factory class responsible for creating different types of loaders.- Since:
- 2017-07-22
- Version:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description FullDataLoaderFactory()
-
Method Summary
Modifier and Type Method Description IFullDataLoader
createFullDataLoader(java.lang.String className, java.lang.String empPath, java.lang.String dishPath, java.lang.String orderPath)
Creates different types of loaders based on the input parameter
-
-
-
Method Detail
-
createFullDataLoader
public IFullDataLoader createFullDataLoader(java.lang.String className, java.lang.String empPath, java.lang.String dishPath, java.lang.String orderPath)
Creates different types of loaders based on the input parameter- Parameters:
className
- : type of loaderempPath
- a String with the path of the file with employeesdishPath
- a String with the path of the file with dishesorderPath
- a String with the path of the file with orders- Returns:
- an IFullDataLoader loader to load all three files
-
-