Package dataLoad

Class 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
    • 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FullDataLoaderFactory

        public FullDataLoaderFactory()
    • 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 loader
        empPath - a String with the path of the file with employees
        dishPath - a String with the path of the file with dishes
        orderPath - a String with the path of the file with orders
        Returns:
        an IFullDataLoader loader to load all three files