*/
public class SplitModeFactory {
public static SplitMode buildSplitStrategy(String mode) {
if(Constants.SPLIT_ALL.equalsIgnoreCase(mode))
return new AllSplitMode();
else if(Constants.SPLIT_MULTI.equalsIgnoreCase(mode))
return new MultiSplitMode();
else if(Constants.SPLIT_SINGLE.equalsIgnoreCase(mode))
return new SingleSplitMode();
else