[
https://issues.apache.org/jira/browse/TEXT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045911#comment-16045911
]
ASF GitHub Bot commented on TEXT-85:
------------------------------------
GitHub user arunvinudss opened a pull request:
https://github.com/apache/commons-text/pull/46
TEXT-85:Added CaseUtils class with camel case conversion support
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arunvinudss/commons-text TEXT-85
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-text/pull/46.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #46
----
commit 5b8c5ea3b7e39a49a9ee66588a2d8fbc5d8cc6e7
Author: Arun Vinud <[email protected]>
Date: 2017-06-11T11:36:21Z
TEXT-85:Added CaseUtils class with camel case conversion
----
> Create CaseUtils class. Add toCamelCase
> ---------------------------------------
>
> Key: TEXT-85
> URL: https://issues.apache.org/jira/browse/TEXT-85
> Project: Commons Text
> Issue Type: Improvement
> Reporter: Rob Tompkins
> Assignee: Rob Tompkins
>
> Based on the conversation here:
> http://markmail.org/message/7nvizsbykvxpr7g5
> We wish to have a {{toCamelCase}} method. The suggestion is to create a
> {{CaseUtils}} class.
> I wonder if we should think about deprecating the case management in
> {{WordUtils}} and move it over? Maybe, maybe not.
> I would think our method signature would look something like:
> {code}
> String toCamelCase(String str, char delimiter, boolean capitalizeFirstLetter)
> {code}
> potentially with {{String}} replaced with {{CharSequence}}.
> Lastly, {{WordUtils.capitalizeFully(String str, final char... delimiters)}}
> might be a good starting point.
> https://github.com/apache/commons-text/blob/master/src/main/java/org/apache/commons/text/WordUtils.java#L467-L499
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)