java program to compare the columns in two csv files and replace the values

There are two columns in file1.csv and file2.csv . file1 has names and groups. file 2 has persons and id columns.now write a java program to replace the names column with id present in file2. where ever not getting person and id mapping,those entities are write into one error report file.Below are two csv files.please help me in doing this.

file1.csv

names Groups

oppo aaa

vivo sss

Samsung dsd

redmi dsd

oppo ded

redmi bbb

micromax ccc

panasonic ddd

file2.csv

items id

oppo 40

vivo 41

samsung 42

micromax 43

redmi 44...

Read More »

By: StackOverFlow - Wednesday, 14 March

Related Posts