EDIFACT to semi structured CSV

I have a file of EDIFACT data in which its delimiters are ASCII coded.

I need to translate this data file into comma separated value file making it easier for analysis.

Can anyone help me achieve that using java.

Thanks in advance