Deprecated API

Contents

Deprecated Classes

NumberRange
Use one of the Range classes in org.apache.commons.lang.math.
NumberUtils
Moved to org.apache.commons.lang.math.

Deprecated Methods

org.apache.commons.lang.CharSetUtils.evaluateSet(String[])
org.apache.commons.lang.CharSetUtils.translate(String,String,String)
org.apache.commons.lang.builder.StandardToStringStyle.isShortClassName()
Use isUseShortClassName() Method will be removed in Commons Lang 3.0.
org.apache.commons.lang.builder.StandardToStringStyle.setShortClassName(boolean)
Use setUseShortClassName(boolean) Method will be removed in Commons Lang 3.0.
org.apache.commons.lang.StringUtils.clean(String)
Use the clearer named trimToEmpty(String).
org.apache.commons.lang.StringUtils.getNestedString(String,String)
Use the better named substringBetween(String,String).
org.apache.commons.lang.StringUtils.getNestedString(String,String,String)
org.apache.commons.lang.StringUtils.concatenate(Object[])
Use the better named join(Object[]) instead.
org.apache.commons.lang.StringUtils.deleteSpaces(String)
Use the better localized deleteWhitespace(String).
org.apache.commons.lang.StringUtils.overlayString(String,String,int,int)
Use better named overlay(String,String,int,int) instead.
org.apache.commons.lang.StringUtils.chompLast(String)
Use chomp(String) instead.
org.apache.commons.lang.StringUtils.chompLast(String,String)
org.apache.commons.lang.StringUtils.getChomp(String,String)
Use substringAfterLast(String,String) instead (although this doesn't include the separator) Method will be removed in Commons Lang 3.0.
org.apache.commons.lang.StringUtils.prechomp(String,String)
org.apache.commons.lang.StringUtils.getPrechomp(String,String)
Use substringBefore(String,String) instead (although this doesn't include the separator).
org.apache.commons.lang.StringUtils.chopNewline(String)
Use chomp(String) instead.
org.apache.commons.lang.StringUtils.escape(String)
Use StringEscapeUtils.escapeJava(String) This method will be removed in Commons Lang 3.0
org.apache.commons.lang.StringUtils.capitalise(String)
Use the standardly named capitalize(String).
org.apache.commons.lang.StringUtils.uncapitalise(String)
Use the standardly named uncapitalize(String).
org.apache.commons.lang.StringUtils.capitaliseAllWords(String)
Use the relocated WordUtils.capitalize(String).
org.apache.commons.lang.StringUtils.reverseDelimitedString(String,String)
org.apache.commons.lang.SystemUtils.getJavaVersion()
Use JAVA_VERSION_FLOAT instead.
org.apache.commons.lang.builder.ToStringStyle.isShortClassName()
Use isUseShortClassName() Method will be removed in Commons Lang 3.0.
org.apache.commons.lang.builder.ToStringStyle.setShortClassName(boolean)
Use setUseShortClassName(boolean) Method will be removed in Commons Lang 3.0.

Copyright © 2001-2003 - Apache Software Foundation