org.easetech.easytest.loader
Class LoaderFactory

java.lang.Object
  extended by org.easetech.easytest.loader.LoaderFactory

public class LoaderFactory
extends Object

A factory class responsible for churning out Loader instances based on the type of LoaderType to load the data from.

Author:
Anuj kumar

Constructor Summary
LoaderFactory()
           
 
Method Summary
static Loader getLoader(LoaderType loaderType)
          Return an instance of Loader based on the type of file or return null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoaderFactory

public LoaderFactory()
Method Detail

getLoader

public static Loader getLoader(LoaderType loaderType)
Return an instance of Loader based on the type of file or return null.

Parameters:
loaderType - the type of the loader
Returns:
an instance of Loader or null if no loader is found.


Copyright © 2013. All Rights Reserved.