Deprecated API
Contents
-
Deprecated MethodsMethodDescriptionUse
CharSet.getInstance(String[]). Method will be removed in Commons Lang 3.0.UseStringUtils.replaceChars(String, String, String). Method will be removed in Commons Lang 3.0. NOTE: StringUtils#replaceChars behaves differently when 'searchChars' is longer than 'replaceChars'. CharSetUtils#translate will use the last char of the replacement string whereas StringUtils#replaceChars will deleteThe design of this method is bad - see LANG-360. Instead, use identityToString(StringBuffer, Object).Use the standardly namedStringUtils.capitalize(String). Method will be removed in Commons Lang 3.0.Use the relocatedWordUtils.capitalize(String). Method will be removed in Commons Lang 3.0.UseStringUtils.chomp(String)instead. Method will be removed in Commons Lang 3.0.UseStringUtils.chomp(String,String)instead. Method will be removed in Commons Lang 3.0.UseStringUtils.chomp(String)instead. Method will be removed in Commons Lang 3.0.Use the clearer namedStringUtils.trimToEmpty(String). Method will be removed in Commons Lang 3.0.Use the better namedStringUtils.join(Object[])instead. Method will be removed in Commons Lang 3.0.Use the better localizedStringUtils.deleteWhitespace(String). Method will be removed in Commons Lang 3.0.UseStringEscapeUtils.escapeJava(String)This method will be removed in Commons Lang 3.0UseStringUtils.substringAfterLast(String, String)instead (although this doesn't include the separator) Method will be removed in Commons Lang 3.0.Use the better namedStringUtils.substringBetween(String, String). Method will be removed in Commons Lang 3.0.Use the better namedStringUtils.substringBetween(String, String, String). Method will be removed in Commons Lang 3.0.UseStringUtils.substringBefore(String,String)instead (although this doesn't include the separator). Method will be removed in Commons Lang 3.0.Use better namedStringUtils.overlay(String, String, int, int)instead. Method will be removed in Commons Lang 3.0.UseStringUtils.substringAfter(String,String)instead. Method will be removed in Commons Lang 3.0.UseStringUtils.reverseDelimited(String, char)instead. This method is broken as the join doesn't know which char to use. Method will be removed in Commons Lang 3.0.Use the standardly namedStringUtils.uncapitalize(String). Method will be removed in Commons Lang 3.0.UseSystemUtils.JAVA_VERSION_FLOATinstead. Method will be removed in Commons Lang 3.0.