Java String Normalize normalize(String string)

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

Description

normalize

License

Apache License

Declaration

public static String normalize(String string) 

Method Source Code

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

import java.text.Normalizer;
import java.text.Normalizer.Form;

public class Main {
    public static final Form NORMALIZATION_FORM = Normalizer.Form.NFC;

    public static String normalize(String string) {
        if (string != null) {
            string = Normalizer.normalize(string, NORMALIZATION_FORM);
        }/* w  ww  .  ja  va 2s. com*/
        return string;
    }
}

Related

  1. normalize(String name)
  2. normalize(String s)
  3. normalize(String s)
  4. normalize(String s)
  5. normalize(String s)
  6. normalize(String string)
  7. normalize(String string)
  8. normalize(String text)
  9. normalize(String text)