@ Pure public static String toUpperCaseWithoutAccent ( String text , Map < Character , String > map ) { final StringBuilder buffer = new StringBuilder ( ) ; for ( final char c : text . toCharArray ( ) ) { final String trans = map . get ( c ) ; if ( trans != null ) { buffer . append ( trans . toUpperCase ( ) ) ; } else { buffer . append ( Character . toUpperCase ( c ) ) ; } } return buffer . toString ( ) ; }
Translate the specified string to upper case and remove the accents .