Custom Delimiter

mardi 21 octobre 2014

Hi All,



I have to create a custom Pipe Delimited File. I configured my inbound and outbound in my source transformer to delimited text and change its column delimiter to '|'



Everything is fine till now but when i diserialize this to string, it is showing it as a Comma Delimited File and not Pipe Delimited File.




Code:



tmp['row']['column1']="Hi";

tmp['row']['column2']="Test";

logger.info(SerializerFactory.getSerializer('DELIMITED').fromXML(tmp));



and i get the output as:


Code:



Hi,Test




Is there any option to get my output as specified below




Code:



Hi|Test


Any help would be highly appreciated





Custom Delimiter

0 commentaires:

Enregistrer un commentaire