Java String Upper Case toUpperCase(final String s)

Here you can find the source of toUpperCase(final String s)

Description

GWT 1.5.3 does not support Locale in String toUpperCase.

License

Apache License

Declaration

public static String toUpperCase(final String s) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**/*from   www.j  a v  a2  s  .  com*/
     * GWT 1.5.3 does not support Locale in String toUpperCase. This method is used
     * so all calls to toUpperCase can be replaced with properly localized version.
     */
    public static String toUpperCase(final String s) {
        return s.toLowerCase();
    }

    /**
     * GWT 1.5.3 does not support Locale in String toLowerCase. This method is used
     * so all calls to toLowerCase can be replaced with properly localized version.
     */
    public static String toLowerCase(final String s) {
        return s.toLowerCase();
    }
}

Related

  1. toUpperCase(CharSequence string)
  2. toUpperCase(final char c)
  3. toUpperCase(final String s)
  4. toUpperCase(final String s)
  5. toUpperCase(final StringBuilder src)
  6. toUpperCase(String candidate)
  7. toUpperCase(String from)