@Test public void testStripAccents() { Assert.assertEquals("", StringHelper.stripAccents(null)); Assert.assertEquals("", StringHelper.stripAccents("")); Assert.assertEquals("Eeeeecoui", StringHelper.stripAccents("Eeéêèçöùî")); }
public static String stripAccents(String input) { String textToStrip = StringHelper.defaultString(input); return Normalizer.normalize(textToStrip, Normalizer.Form.NFD) .replaceAll("\\p{InCombiningDiacriticalMarks}+", ""); }
StringHelper { public static String stripAccents(String input) { String textToStrip = StringHelper.defaultString(input); return Normalizer.normalize(textToStrip, Normalizer.Form.NFD) .replaceAll("\\p{InCombiningDiacriticalMarks}+", ""); } }
StringHelper { public static String stripAccents(String input) { String textToStrip = StringHelper.defaultString(input); return Normalizer.normalize(textToStrip, Normalizer.Form.NFD) .replaceAll("\\p{InCombiningDiacriticalMarks}+", ""); }  }
StringHelper { public static String stripAccents(String input) { String textToStrip = StringHelper.defaultString(input); return Normalizer.normalize(textToStrip, Normalizer.Form.NFD) .replaceAll("\\p{InCombiningDiacriticalMarks}+", ""); }  static String defaultString(final String str); static boolean equals(final String str1, final String str2); static boolean equalsIgnoreCase(final String str1, final String str2); static boolean isBlank(final String str); static boolean isNotBlank(final String str); static String[] split(final String str, final String separatorChars); static String substringAfterLast(final String str,
			final String separator); static final List<String> parseListPreferenceValue(
			String pRawValues, String separator); static String stripAccents(String input); static String replace(String text, String searchString,
			String replacement, int max); }
StringHelper { public static String stripAccents(String input) { String textToStrip = StringHelper.defaultString(input); return Normalizer.normalize(textToStrip, Normalizer.Form.NFD) .replaceAll("\\p{InCombiningDiacriticalMarks}+", ""); }  static String defaultString(final String str); static boolean equals(final String str1, final String str2); static boolean equalsIgnoreCase(final String str1, final String str2); static boolean isBlank(final String str); static boolean isNotBlank(final String str); static String[] split(final String str, final String separatorChars); static String substringAfterLast(final String str,
			final String separator); static final List<String> parseListPreferenceValue(
			String pRawValues, String separator); static String stripAccents(String input); static String replace(String text, String searchString,
			String replacement, int max);  }