Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 55027 invoked from network); 24 Jul 2006 04:16:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jul 2006 04:16:34 -0000 Received: (qmail 23342 invoked by uid 500); 24 Jul 2006 04:16:33 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 22768 invoked by uid 500); 24 Jul 2006 04:16:31 -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 86677 invoked by uid 99); 24 Jul 2006 01:15:09 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jodastephen@googlemail.com designates 64.233.182.190 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from:sender; b=BKQy/8l34ccMW/n4CB9DIv5nhFy55AnHTAd67Jer3xdRci4gQpzaHg05AH0rMm6JjSl2NYq6+IzyzkjxpFKpt5K9ZQ9RKOexZAUpWnv1osxjRrXMjBc+JXIdhPG6GDcx4j/sFMpPyzCCIBTHMPG5LxQo0wP/nznyXSiGeHrFWEM= Message-ID: <44C41EF1.4060909@btopenworld.com> Date: Mon, 24 Jul 2006 02:14:25 +0100 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [lang] VariableFormatter - pre 2.2 References: <31cc37360607032203u5d259d1cg924a4dce33fa95e3@mail.gmail.com> <44AC5428.1090507@btopenworld.com> <31cc37360607202255n70282ef6r347a97d6fcede0fe@mail.gmail.com> <44C110CF.4020706@oliver-heger.de> <31cc37360607211204o1b582c27vef4c758d16b29ab@mail.gmail.com> In-Reply-To: <31cc37360607211204o1b582c27vef4c758d16b29ab@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Stephen Colebourne Sender: Stephen Colebourne X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have reworked the VariableFormatter class along the lines that I was thinking. I have committed it as StrSubstitutor so it doesn't clash for the moment and so it can be easiy reviewed. This version does not have a separate parser class, but still supports escaping, and matchers for prefix/suffix (which can now be set by users). The new class should perform better as a result. I have removed the edge cases wrt resolving Objects, as they were rather ill-defined. Otherwise, the basic functionality it supported, and the test case is slightly enlarged. I still want to break out the resolver as a public abstract class before release. Opinions Stephen --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org