public static void process(List<Packages> pkgList) throws Exception {
  init();
  String[] temps=templates.split(",");
  String[] vmFiles=new String[temps.length];
  for (int i=0; i < temps.length; i++) {
    vmFiles[i]=temps[i] + ".vm";
  }
  for (  Packages pkg : pkgList) {
    for (    String vmFile : vmFiles) {
      generator(vmFile,pkg);
    }
  }
}

public static void process ( List < Packages > pkgList ) throws Exception { init ( ) ; String [ ] temps = templates . split ( "," ) ; String [ ] vmFiles = new String [ temps . length ] ; for ( int i = 0 ; i < temps . length ; i ++ ) { vmFiles [ i ] = temps [ i ] + ".vm" ; } for ( Packages pkg : pkgList ) { for ( String vmFile : vmFiles ) { generator ( vmFile , pkg ) ; } } }
process main logic for create file
