I have template csv file have to 4 header(have 4 row).
if i use @CsvEntity( header = true) and
@CsvColumns({@CsvColumn( name = "CODE"),
@CsvColumn( name = "CODE1"),
@CsvColumn( name = "CODE2"),
@CsvColumn( name = "CODE3")})
and
Csv.save(lstCsvIndentEntity, fileDest, ENCODING, cfg, new CsvEntityListHandler(
CsvInsidentEntity.class));
with above, when export data i have to csv file 1 row and 4 column. but in this case: i want to 4 row and 1 column.
I have template csv file have to 4 header(have 4 row). if i use @CsvEntity( header = true) and @CsvColumns({@CsvColumn( name = "CODE"), @CsvColumn( name = "CODE1"), @CsvColumn( name = "CODE2"), @CsvColumn( name = "CODE3")})
and Csv.save(lstCsvIndentEntity, fileDest, ENCODING, cfg, new CsvEntityListHandler(
CsvInsidentEntity.class));
with above, when export data i have to csv file 1 row and 4 column. but in this case: i want to 4 row and 1 column.
how do i do? could you help me.!