commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [lang] Appetite for new method StringUtils.toCamelCase(String str, char delimiter, boolean capitalizeFirstLetter)
Date Thu, 01 Jun 2017 14:27:20 GMT
IMO camel casing is all about words so [text] WordUtils. But why not have a
CamelCaseUtils instead?

Gary

On Jun 1, 2017 7:14 AM, "Rob Tompkins" <chtompki@gmail.com> wrote:

>
> > On Jun 1, 2017, at 10:11 AM, Gary Gregory <garydgregory@gmail.com>
> wrote:
> >
> > Isn't this kind of stuff or anything camel case supposed to be in [text]
>
> I’m ok with that path as well. It feels like it’s on the line between the
> two components. Either way, it sounds like you’re not opposed to adding it
> to a component.
>
> Should it be TextUtils.toCamelCase(String str, char delimiter, boolean
> capitalizeFirstLetter), or WordUtils maybe, if we were to put it in [text]?
>
> -Rob
>
> > these days?
> >
> > Gary
> >
> > On Jun 1, 2017 7:03 AM, "Rob Tompkins" <chtompki@gmail.com> wrote:
> >
> >> Hello all,
> >>
> >> Folks at my day job have a method that takes in a space delimited String
> >> (or arbitrarily delimited string for that matter), and returns a camel
> >> cased string. Is there any reason that this shouldn’t be in
> StringUtils? It
> >> feels reasonable to me. What are folks thoughts?
> >>
> >> Cheers,
> >> -Rob
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message