commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stian Soiland-Reyes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-215) CSVRecord mutability
Date Fri, 09 Feb 2018 16:46:00 GMT

    [ https://issues.apache.org/jira/browse/CSV-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16358644#comment-16358644
] 

Stian Soiland-Reyes commented on CSV-215:
-----------------------------------------

https://github.com/apache/commons-csv/pull/25 proposes some mutator functions.

> CSVRecord mutability
> --------------------
>
>                 Key: CSV-215
>                 URL: https://issues.apache.org/jira/browse/CSV-215
>             Project: Commons CSV
>          Issue Type: Improvement
>          Components: Parser
>            Reporter: Nitin Mahendru
>            Priority: Minor
>              Labels: features
>   Original Estimate: 16h
>  Remaining Estimate: 16h
>
> I recently pushed a change(pull request 20) to get the line ending from the parser.
> Now I want to push another change which I feel will also be useful for the community.
I want to add a CSVRecordMutable class which had a constructor which accepts a CSVRecord object.
So when we have a CSVRecordMutable object from it then we can edit individual columns using
it.
> I would be using this to write back my edited CSV file. My use case is to read a csv,
mangle some columns, write back a new csv.
> I could have directly raised a pull request but I just wanted to float the idea before
and see the reaction.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message