Class CombineData
java.lang.Object
net.simplace.sim.components.util.helper.CombineData
- Author:
- admin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
combineData
(String aDirListing, String aSourceDataFile, String aResultDataFile, int aGroupID, String aSeparator) static void
combineFiles
(String aDirectory, String aExtension, boolean aIncludeSubdirs, String aOutputfile) static void
-
Constructor Details
-
CombineData
public CombineData()
-
-
Method Details
-
main
- 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 DirListingaResultDataFile
- Result data files string using string format features %s for the data from different columns in DirListingaGroupID
- column number of the grouping id. Files with same grouping id are combined into one fileaSeparator
- separator used in the source and result files.- Throws:
IOException
-