Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 3519 invoked from network); 21 Jan 2004 13:54:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Jan 2004 13:54:47 -0000 Received: (qmail 85818 invoked by uid 500); 21 Jan 2004 13:54:41 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 85636 invoked by uid 500); 21 Jan 2004 13:54:40 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 85622 invoked from network); 21 Jan 2004 13:54:40 -0000 Received: from unknown (HELO mustang.mpi.com) (63.244.250.132) by daedalus.apache.org with SMTP; 21 Jan 2004 13:54:40 -0000 Received: from thunderbolt.mpi.com (thunderbolt [63.244.253.70]) by mustang.mpi.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id i0LDprV20017 for ; Wed, 21 Jan 2004 08:51:53 -0500 (EST) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [63.244.252.30]) by thunderbolt.mpi.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id i0LDsS2W014444 for ; Wed, 21 Jan 2004 08:54:31 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: new project proposal: Type Conversion Library Date: Wed, 21 Jan 2004 08:53:42 -0500 Message-ID: <9C5166762F311146951505C6790A9CF8013DFB1B@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: new project proposal: Type Conversion Library Thread-Index: AcPf/uTHS2otIltETQ6iQQGnGfrYcAAJsh/Q From: "Shapira, Yoav" To: "Jakarta Commons Developers List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Howdy, >Just firing up random thoughts here (drilled down into my head a few >inches), but suppose you could use your private TypeConverter, then >you could > >1) Again, provide a converter for configurations from String, >ConfigurationEntry, or whatever, to the user's desired type. Say >foo.properties: >component.factory=3Dsome.package.with.Factory It's not that I need many converters but would rather keep them in the= ir own classes. It's that I don't need many converters at all. Like everyone else, I've had to use valueOf/parseInt/toArray/asList every n= ow and then, mostly to deal with data type differences from 3rd party libraries. But not much, certainly not enough to come up with a speci= al library for it. Don't mistake this for a strong -1 vote. I see why y= ou want it, I just haven't had a need for it, so I wanted to see your reasoning -- thanks for sharing it ;) Yoav Shapria This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org