Java Utililty Methods String Lower Case

List of utility methods to do String Lower Case

Description

The list of methods to do String Lower Case are organized into topic(s).

Method

StringtoLowerCase(Enum aEnum)
to Lower Case
if (aEnum == null) {
    return null;
return toLowerCase(aEnum.name());
bytetoLowerCase(final byte b)
to Lower Case
if (b < 'A' || b > 'Z') {
    return b;
return (byte) (b - UPPER_CASE_OFFSET);
StringtoLowerCase(final String s)
to Lower Case
return hasUpperLetter(s) ? s.toLowerCase() : s;
StringtoLowerCase(final String s)
Retrieves an all-lowercase version of the provided string.
if (s == null) {
    return null;
final int length = s.length();
final char[] charArray = s.toCharArray();
for (int i = 0; i < length; i++) {
    switch (charArray[i]) {
    case 'A':
...
StringtoLowerCase(final String s)
GWT 1.5.3 does not support Locale in String toLowerCase.
return s.toLowerCase();
StringtoLowerCase(final String s)
Converts a string to lower case letters
return s == null ? null : s.toLowerCase();
StringtoLowerCase(final String str)
to Lower Case
return str != null ? str.toLowerCase() : null;
String[]toLowerCase(final String[] strings)
to Lower Case
String[] lowerCaseStrings = new String[strings.length];
for (int i = 0; i < strings.length; i++) {
    lowerCaseStrings[i] = strings[i].toLowerCase();
return lowerCaseStrings;
voidtoLowerCase(final StringBuilder src)
Converts all of the characters in src to to lower case using the rules of the default locale.
for (int i = 0; i < src.length(); i++) {
    src.setCharAt(i, Character.toLowerCase(src.charAt(i)));
inttoLowercase(int codePoint)
Convert upper case letters to lower case letters in ASCII
if (codePoint >= 0x41 && codePoint <= 0x5A) {
    return codePoint + 32;
return codePoint;