Jump to content
Changes to the Jaspersoft community edition download ×

export using specified delimeter


rptman

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

yes, you can set the delimiter in your java-method when exporting to csv.

 

Code:

JRExporter csvExporter = new JRCsvExporter();
csvExporter.setParameter(JRCsvExporterParameter.FIELD_DELIMITER, ";");
csvExporter.setParameter(JRCsvExporterParameter.RECORD_DELIMITER, "n");

 

the parameter FIELD_DELIMITER is especially for separating the fields...

 

 

hope this helps

Post edited by: wegnerk, at: 2007/01/31 06:39

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...