Java String Normalize normalize(String s)

Here you can find the source of normalize(String s)

Description

java.text.Normalizer is only available for jdk 1.6.

License

Apache License

Parameter

Parameter Description
s a parameter

Declaration

private static String normalize(String s) 

Method Source Code

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

public class Main {
    /**//ww  w  .  j  av  a  2  s. com
     * java.text.Normalizer is only available for jdk 1.6. Since it isnt
     * really required and we don't want to annoy our 1.5 colleagues, this
     * is commented out.
     *
     * It isnt really needed because URLs still get consistently encoded and
     * decoded without it. Its just that you might get different results on different
     * platforms
     *
     * @param s
     * @return
     */
    private static String normalize(String s) {
        //return Normalizer.normalize(s, Normalizer.Form.NFC);
        return s;
    }
}

Related

  1. normalize(Object o, StringBuffer sb)
  2. normalize(String adoc)
  3. normalize(String in)
  4. normalize(String name)
  5. normalize(String s)
  6. normalize(String s)
  7. normalize(String s)
  8. normalize(String string)
  9. normalize(String string)