commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory" <ggreg...@seagullsoftware.com>
Subject RE: [lang] Interpolation
Date Fri, 27 Aug 2004 16:35:18 GMT
I do not like a *Utils name for this because I'd like the class to be
instantiable per my example.

Gary

> -----Original Message-----
> From: Stephen Colebourne [mailto:scolebourne@btopenworld.com]
> Sent: Thursday, August 26, 2004 17:35
> To: Jakarta Commons Developers List
> Subject: Re: [lang] Interpolation
> 
> 1) I felt the 'interpolateRepeatedly' scanned badly as a method name.
But
> I
> couldn't think of anything better.
> 
> 2) I wondered if it should be InterpolateUtils, or some such to fit
with
> our
> Utils classes.
> 
> Stephen
> 
> ----- Original Message -----
> From: "Gary Gregory" <ggregory@seagullsoftware.com>
> To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
> Sent: Thursday, August 26, 2004 11:52 PM
> Subject: RE: [lang] Interpolation
> 
> 
> > > (3) Usage.
> > >
> > > I'd like that class to be more flexible in order to do the
following
> for
> > > example:
> > >
> > > Interpolation interpolation = new Interpolation();
> > > interpolation.setStartMarker("<");
> > > interpolation.setEndMarker(">");
> > > interpolation.setMap(aMap);
> > > String news = interpolation.interpolate(templateString);
> >
> > Sounds interesting.  ${..} seems a common default though.
> >
> > Hen
> 
> Agreed, the defaults are fine. The pieces should be pluggable is all I
> am saying which gives us the biggest bang for the buck with this new
> class.
> 
> Gary
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org


---------------------------------------------------------------------
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