Java String Camel Case Format toCamelCase(String value)

Here you can find the source of toCamelCase(String value)

Description

to Camel Case

License

Open Source License

Declaration

public static String toCamelCase(String value) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String toCamelCase(String value) {
        if (!Character.isLowerCase(value.charAt(0))) {
            value = value.substring(0, 1).toLowerCase() + value.substring(1);
        }// w  w  w. ja v a2 s .c o  m
        return value;
    }
}

Related

  1. toCamelCase(String text)
  2. toCamelCase(String text, boolean capFirstLetter)
  3. toCamelCase(String value)
  4. toCamelCase(String value)
  5. toCamelCase(String value)
  6. toCamelCase(String value)
  7. toCamelCase(String value, String separator)
  8. toCamelCaseCapitalize(String underLineName)
  9. toCamelCaseIdentifier(String formStr)