GitHub user kaspersorensen opened a pull request:

    https://github.com/apache/metamodel/pull/40

    CSV writing using Resource.write() and Resource.append()

    Fixes METAMODEL-173
    
    See also previous PR #36 which had a different approach. This approach is 
in my opinion better since it tries to improve the way the CsvUpdateCallback 
remembers the output stream (in form of a Writer) and reuses it for each line 
it writes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kaspersorensen/metamodel METAMODEL-173

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/metamodel/pull/40.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #40
    
----
commit 7d21fba0a5579c96a0ab1feb5818621cfa299e9a
Author: Kasper Sørensen <[email protected]>
Date:   2015-08-15T18:27:24Z

    METAMODEL-173: Added Resource.append() and Resource.write() methods
    
    implemented an abstract Resource class for reuse of common functionality

commit d1966b3756b92e3eed5943a2d1e76b949928daeb
Author: Kasper Sørensen <[email protected]>
Date:   2015-08-15T18:40:00Z

    METAMODEL-173: Changed CsvUpdateCallback to use Resource.write() 
    or Resource.append() when necesary.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to