question: public static String replaceCharacters ( final ConversionMethod conversionMethod , final String input , final int fromCharacter , final int toCharacter , final String wrap ) { String convertedText = input ; for ( int i = fromCharacter ; i <= toCharacter ; i ++ ) { final String characterToReplace = new String ( Character . toChars ( i ) ) ; if ( wrap != null ) { convertedText = convertedText . replace ( characterToReplace , wrap + convertText ( conversionMethod , characterToReplace ) + wrap ) ; } else { convertedText = convertedText . replace ( characterToReplace , convertText ( conversionMethod , characterToReplace ) ) ; } } return convertedText ; }
target:  Replaces characters using the given conversion method.