Convert single char in String to lower case

后端 未结 7 1762
孤独总比滥情好
孤独总比滥情好 2021-01-17 10:15

I like to \'guess\' attribute names from getter methods. So \'getSomeAttribute\' shall be converted to \'someAttribute\'.

Usually I do something like



        
7条回答
  •  悲&欢浪女
    2021-01-17 11:01

    The uncapitalize method of Commons Lang shall help you, but I don't think your solution is so crude.

提交回复
热议问题