commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell" <flame...@gmail.com>
Subject Re: [lang] VariableFormatter - pre 2.2
Date Tue, 11 Jul 2006 00:55:15 GMT
On 7/7/06, Oliver Heger <oliver.heger@oliver-heger.de> wrote:
> Stephen Colebourne wrote:
> <snip/>
>
> >
> > Oliver Heger wrote:
> >  > Fine with me, but could the return value of lookup be Object instead
> >  > of String? Especially if you want to use this interface in other
> >  areas, you might need more freedom. If only String processing needs
> >  > to be performed, the returned Object can be transformed to a String by
> >  > calling toString().
> >
> > But what kind of object are you expectng to be returned here (other than
> > a String)?
> >
> > A similar question applies to the replaceObject() method which appears
> > to have very odd semantics as you can't rely on the return value being
> > of any specific type. What Objects are you expecting to work with?
> >
> > Stephen
> >
> I plan to use the class in [configuration] for variable substitution. A
> variable can represent a configuration property, which can have an
> arbitrary type.

Anything further on this thread? Any sign of consensus?

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message