Java String Lower Case toLowerCase(String str)

Here you can find the source of toLowerCase(String str)

Description

Non-localized version, be careful

License

GNU General Public License

Parameter

Parameter Description
str a parameter

Declaration

public static String toLowerCase(String str) 

Method Source Code

//package com.java2s;
/*/*from  ww  w. ja  v a  2  s  .  co m*/
 Pulsar
 Copyright (C) 2013-2015 eBay Software Foundation
 Licensed under the GPL v2 license.  See LICENSE for full terms.
 */

public class Main {
    /**
     * Non-localized version, be careful
     * 
     * @param str
     * @return
     */
    public static String toLowerCase(String str) {
        if (str != null) {
            return str.toLowerCase();
        }
        return null;
    }

    /**
     * Non-localized version, be careful
     * 
     * @param str
     * @return
     */
    public static String[] toLowerCase(String[] strArray) {
        if (strArray != null) {
            String[] ret = new String[strArray.length];
            for (int i = 0; i < strArray.length; i++) {
                ret[i] = toLowerCase(strArray[i]);
            }
            return ret;
        }
        return null;
    }
}

Related

  1. toLowerCase(String s, int start, int end)
  2. toLowerCase(String source)
  3. toLowerCase(String str)
  4. toLowerCase(String str)
  5. toLowerCase(String str)
  6. toLowerCase(String str)
  7. toLowerCase(String str)
  8. toLowerCase(String string)
  9. toLowerCase(String string)