Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 56861 invoked from network); 26 Aug 2006 20:00:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Aug 2006 20:00:43 -0000 Received: (qmail 83119 invoked by uid 500); 26 Aug 2006 20:00:41 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 83094 invoked by uid 500); 26 Aug 2006 20:00:41 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 83082 invoked by uid 99); 26 Aug 2006 20:00:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 13:00:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Aug 2006 13:00:41 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D939641000E for ; Sat, 26 Aug 2006 19:57:23 +0000 (GMT) Message-ID: <21096210.1156622243887.JavaMail.jira@brutus> Date: Sat, 26 Aug 2006 12:57:23 -0700 (PDT) From: "Jochen Wiedmann (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Reopened: (CODEC-8) REQ: Streaming codecs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/CODEC-8?page=all ] Jochen Wiedmann reopened CODEC-8: --------------------------------- I don't know who resolved this issue with WON'T FIX, but whoever did, should at least leave a comment why such an important issue won't be resolved. > REQ: Streaming codecs > --------------------- > > Key: CODEC-8 > URL: http://issues.apache.org/jira/browse/CODEC-8 > Project: Commons Codec > Issue Type: Bug > Affects Versions: 1.2 > Environment: Operating System: All > Platform: All > Reporter: Sergei S. Ivanov > > I would really appreciate if, for example, Base64 encoder could operate on > streams. One reason is that it's much easier to attach ByteArrayInputStream to > an array of bytes that to copy a byte array into a stream. The other reason is > greater flexibility, given by the streams. > I'd suggest creating a pair of new interfaces: > public interface StreamingDecoder implements Decoder { > public void decode(InputStream in, OutputStream out) throws DecoderException; > } > public interface StreamingEncoder implements Encoder { > public void encode(InputStream in, OutputStream out) throws EncoderException; > } > Base64 and Hex will then be able to implement these interfaces. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org