[ https://issues.apache.org/jira/browse/IO-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niall Pemberton updated IO-406: ------------------------------- Attachment: IO-406-AppendableOutputStream.patch Commons IO already has StringBuilderWriter (but not a StringBufferWriter) and WriterOutputStream implementations that can be combined to create a StringBuilder OutputStream. The advantage of using the WriterOutputStream implementation is that a CharsetDecoder can be used for converting the characters to bytes. However, if people think this is a good idea then an AppendableOutputStream is more generic - providing for StringBuilder, StringBuffer and any Writer implementation. Attaching a patch with that > Move StringBufferOutputStream class to apache commons io project. > ----------------------------------------------------------------- > > Key: IO-406 > URL: https://issues.apache.org/jira/browse/IO-406 > Project: Commons IO > Issue Type: Task > Components: Streams/Writers > Affects Versions: 2.4 > Environment: Regardless > Reporter: cynthia avishegnath > Labels: commons, geronimo, io, refactor, util > Fix For: 2.5 > > Attachments: IO-406-AppendableOutputStream.patch > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > Move org.apache.geronimo.mail.util.StringBufferOutputStream class to apache > commons io project. > Many would like to use that class without having to pull in dependency on > Geronimo, but also wish to comply to DIE-DRY by not replicating that class in > our respective personal libraries. -- This message was sent by Atlassian JIRA (v6.1#6144)