public class ProcessUtils {
public void processByGeneratorModel(GeneratorModel model,boolean isDelete) throws Exception, FileNotFoundException {
Generator g = getGenerator();
GeneratorModel targetModel = GeneratorModelUtils.newDefaultGeneratorModel();
targetModel.filePathModel.putAll(model.filePathModel);
targetModel.templateModel.putAll(model.templateModel);
processByGeneratorModel(isDelete, g, targetModel);
}