Class CombineData

java.lang.Object
net.simplace.sim.components.util.helper.CombineData

public class CombineData extends Object
Author:
admin
  • Constructor Details

    • CombineData

      public CombineData()
  • Method Details

    • main

      public static void main(String[] args)
      Parameters:
      args -
    • combineFiles

      public static void combineFiles(String aDirectory, String aExtension, boolean aIncludeSubdirs, String aOutputfile) throws IOException
      Throws:
      IOException
    • combineData

      public static void combineData(String aDirListing, String aSourceDataFile, String aResultDataFile, int aGroupID, String aSeparator) throws IOException
      Parameters:
      aDirListing - Listing, where a GroupId and the Folder Key is given. Columns are ';' separated.
      aSourceDataFile - Source data files string using string format features %s for the data from different columns in DirListing
      aResultDataFile - Result data files string using string format features %s for the data from different columns in DirListing
      aGroupID - column number of the grouping id. Files with same grouping id are combined into one file
      aSeparator - separator used in the source and result files.
      Throws:
      IOException