Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 4435 invoked from network); 26 Oct 2007 05:39:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 05:39:49 -0000 Received: (qmail 77490 invoked by uid 500); 26 Oct 2007 05:39:35 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 77438 invoked by uid 500); 26 Oct 2007 05:39:35 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 77429 invoked by uid 99); 26 Oct 2007 05:39:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 22:39:35 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of flamefew@gmail.com designates 209.85.128.191 as permitted sender) Received: from [209.85.128.191] (HELO fk-out-0910.google.com) (209.85.128.191) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 05:39:39 +0000 Received: by fk-out-0910.google.com with SMTP id 19so874716fkr for ; Thu, 25 Oct 2007 22:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zbqle5agOu+qb9NXGtlKfE0G22cosh4JxvW+Vb323Vs=; b=rg+My6h62MzY31rJHFAmziUK90IUS420/6/SZxyUnWnN/jcHIH4FcJW7+9Zy3qna5Pms3XRteLAYBl5n8L3Ad8pZQ1GJiiCPTzf7JEygjMjRRNJ08+SEWBHOqCaaNVt9YuIUVROp2yFIXeHfOHhME0BB+wkbIgy1XErAfk8ztck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IW4TpOha2f051zhWpgOqtHiCz+4jDUSihE4ySIYFkTu4FKWg/IaCZUF3tHy3+N5l/Wix83GEV2AbbRaCnuWVObVwYtPChlwq0545UldHsPgeh9RrCdQDhLDtbDY3GwgA1K7Rrw1R6uIck6qZTeqiHWZj/FO/Hx7sRtgOh298PdE= Received: by 10.82.138.6 with SMTP id l6mr5114893bud.1193377156480; Thu, 25 Oct 2007 22:39:16 -0700 (PDT) Received: by 10.82.171.19 with HTTP; Thu, 25 Oct 2007 22:39:16 -0700 (PDT) Message-ID: <31cc37360710252239i1c3683c6pf28014053ef74890@mail.gmail.com> Date: Thu, 25 Oct 2007 22:39:16 -0700 From: "Henri Yandell" To: "Jakarta Commons Developers List" Subject: Re: TextIterable ? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <31cc37360710251919i46e69dc1pba41dd75f2ebf9e2@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 10/25/07, Hanson Char wrote: > Henri, > > LineIterator is intended/designed to be a hidden implementation behind > TextIterable. It's like putting the cart in front of the horse. > Things don't make much sense if LineIterator is taken out of context > as a standalone public class - issues of InputStream vs Reader, > encoding, closing of input stream, etc. go away at the higher level of > abstraction, aka TextIterable. My personal view is that: a) I hate APIs that force me to think in terms of File/URL and not in term of streams. It's like not having piping in unix. b) The class that opens the stream should close the stream. > The 1.5 issue is, unfortunate, a real issue. I haven't programmed in > pre-1.5 Java for 2+ years now. Sorry for the folks who are not so > lucky. Yeah, it's a pain in the arse and more; the inability to move the libraries to 1.5 slowly kills Commons. Thus you see various Collections clones out there starting up with a 1.5 focus. A lot of that though is because Collections -> 1.5 isn't something that you just wave a magic wand on. Personally I finally moved to 1.5 in the last year. 1.4 is yesterday's trash to me now. As a whole Commons is just about at the point of being happy to drop 1.3 support, with new components being 1.5+. Hen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org