+1
I like the way of implementation, I think we should have class in Commons
text CaseUtils.toCamelCase(String str, char delimiter, boolean
capitalizeFirstLetter)
Also this can have api for snake case (not sure if java need it)
@chtompki , If you wish I will submit code for review.
Regards,
Amey
Hi,
> Am 01.06.2017 um 16:03 schrieb Rob Tompkins :
>
> 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
> On Jun 1, 2017, at 11:38 AM, Duncan Jones wrote:
>
>> On Thu, 1 Jun 2017 at 16:31, Amey Jadiye wrote:
>>
>> +1 seems good to have in toolbox. pretty similar method I have seen in
>> Commons text WordUtils.capitalize() almost similar logic we will need here
>> ,just not to capitalize first w
On Thu, 1 Jun 2017 at 16:31, Amey Jadiye wrote:
> +1 seems good to have in toolbox. pretty similar method I have seen in
> Commons text WordUtils.capitalize() almost similar logic we will need here
> ,just not to capitalize first word and join them all, I'm in favour of
> having this in WordUtils
I like the idea. I've written similar code in a log4j2 branch for
normalizing configuration property names into camel case names.
On 1 June 2017 at 10:31, Amey Jadiye wrote:
> +1 seems good to have in toolbox. pretty similar method I have seen in
> Commons text WordUtils.capitalize() almost simi
+1 seems good to have in toolbox. pretty similar method I have seen in
Commons text WordUtils.capitalize() almost similar logic we will need here
,just not to capitalize first word and join them all, I'm in favour of
having this in WordUtils.
Regards,
Amey
On Thu, Jun 1, 2017, 7:33 PM Rob Tompkin
---
> From: Duncan Jones [mailto:dun...@wortharead.com]
> Sent: Thursday, June 01, 2017 7:32 AM
> To: Commons Developers List
> Subject: Re: [lang] Appetite for new method StringUtils.toCamelCase(String
> str, char delimiter, boolean capitalizeFirstLetter)
>
> On Thu, 1 Jun 2
dynamic property sheets.
~Roger Whitcomb
-Original Message-
From: Duncan Jones [mailto:dun...@wortharead.com]
Sent: Thursday, June 01, 2017 7:32 AM
To: Commons Developers List
Subject: Re: [lang] Appetite for new method StringUtils.toCamelCase(String str,
char delimiter, boolean
On Thu, 1 Jun 2017 at 15:27, Gary Gregory wrote:
> IMO camel casing is all about words so [text] WordUtils. But why not have a
> CamelCaseUtils instead?
>
> Gary
+1. IMO it belongs in TEXT (if anywhere) and we should avoid classes with
static methods.
Per our other conservation about case conv
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" wrote:
>
> > On Jun 1, 2017, at 10:11 AM, Gary Gregory
> wrote:
> >
> > Isn't this kind of stuff or anything camel case supposed to be in [text]
>
> I
> On Jun 1, 2017, at 10:11 AM, Gary Gregory 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.
Isn't this kind of stuff or anything camel case supposed to be in [text]
these days?
Gary
On Jun 1, 2017 7:03 AM, "Rob Tompkins" 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 ca
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
-
13 matches
Mail list logo