Package | Description |
---|---|
org.apache.commons.lang3.text.translate |
as of 3.6, use the commons-text
translate package instead
|
Interface | Description |
---|---|
org.apache.commons.lang3.text.FormatFactory |
as of 3.6, use commons-text
FormatFactory instead
|
Field | Description |
---|---|
org.apache.commons.lang3.StringEscapeUtils.ESCAPE_XML |
use
StringEscapeUtils.ESCAPE_XML10 or StringEscapeUtils.ESCAPE_XML11 instead. |
org.apache.commons.lang3.SystemUtils.FILE_SEPARATOR |
Use
File.separator , since it is guaranteed to be a
string containing a single character and it does not require a privilege check. |
org.apache.commons.lang3.SystemUtils.IS_JAVA_1_9 |
As of release 3.5, replaced by
SystemUtils.IS_JAVA_9 |
org.apache.commons.lang3.time.DateFormatUtils.ISO_DATE_FORMAT |
- as of 4.0, ISO_DATE_FORMAT will be replaced by ISO_8601_EXTENDED_DATE_FORMAT.
|
org.apache.commons.lang3.time.DateFormatUtils.ISO_DATE_TIME_ZONE_FORMAT |
- as of 4.0, ISO_DATE_TIME_ZONE_FORMAT will be removed.
|
org.apache.commons.lang3.time.DateFormatUtils.ISO_DATETIME_FORMAT |
- as of 4.0, ISO_DATETIME_FORMAT will be replaced by ISO_8601_EXTENDED_DATETIME_FORMAT.
|
org.apache.commons.lang3.time.DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT |
- as of 4.0, ISO_DATETIME_TIME_ZONE_FORMAT will be replaced by ISO_8601_EXTENDED_DATETIME_TIME_ZONE_FORMAT.
|
org.apache.commons.lang3.time.DateFormatUtils.ISO_TIME_FORMAT |
- as of 4.0, ISO_TIME_FORMAT will be removed.
|
org.apache.commons.lang3.time.DateFormatUtils.ISO_TIME_NO_T_FORMAT |
- as of 4.0, ISO_TIME_NO_T_FORMAT will be replaced by ISO_8601_EXTENDED_TIME_FORMAT.
|
org.apache.commons.lang3.time.DateFormatUtils.ISO_TIME_NO_T_TIME_ZONE_FORMAT |
- as of 4.0, ISO_TIME_NO_T_TIME_ZONE_FORMAT will be replaced by ISO_8601_EXTENDED_TIME_TIME_ZONE_FORMAT.
|
org.apache.commons.lang3.time.DateFormatUtils.ISO_TIME_TIME_ZONE_FORMAT |
- as of 4.0, ISO_TIME_TIME_ZONE_FORMAT will be removed.
|
org.apache.commons.lang3.SystemUtils.LINE_SEPARATOR |
Use
System.lineSeparator instead, since it does not require a privilege check. |
org.apache.commons.lang3.SystemUtils.PATH_SEPARATOR |
Use
File.pathSeparator , since it is guaranteed to be a
string containing a single character and it does not require a privilege check. |
Method | Description |
---|---|
org.apache.commons.lang3.ArrayUtils.add(boolean[], int, boolean) |
this method has been superseded by
ArrayUtils.insert(int, boolean[], boolean...) and
may be removed in a future release. Please note the handling of null input arrays differs
in the new method: inserting X into a null array results in null not X . |
org.apache.commons.lang3.ArrayUtils.add(byte[], int, byte) |
this method has been superseded by
ArrayUtils.insert(int, byte[], byte...) and
may be removed in a future release. Please note the handling of null input arrays differs
in the new method: inserting X into a null array results in null not X . |
org.apache.commons.lang3.ArrayUtils.add(char[], int, char) |
this method has been superseded by
ArrayUtils.insert(int, char[], char...) and
may be removed in a future release. Please note the handling of null input arrays differs
in the new method: inserting X into a null array results in null not X . |
org.apache.commons.lang3.ArrayUtils.add(double[], int, double) |
this method has been superseded by
ArrayUtils.insert(int, double[], double...) and
may be removed in a future release. Please note the handling of null input arrays differs
in the new method: inserting X into a null array results in null not X . |
org.apache.commons.lang3.ArrayUtils.add(float[], int, float) |
this method has been superseded by
ArrayUtils.insert(int, float[], float...) and
may be removed in a future release. Please note the handling of null input arrays differs
in the new method: inserting X into a null array results in null not X . |
org.apache.commons.lang3.ArrayUtils.add(int[], int, int) |
this method has been superseded by
ArrayUtils.insert(int, int[], int...) and
may be removed in a future release. Please note the handling of null input arrays differs
in the new method: inserting X into a null array results in null not X . |
org.apache.commons.lang3.ArrayUtils.add(long[], int, long) |
this method has been superseded by
ArrayUtils.insert(int, long[], long...) and
may be removed in a future release. Please note the handling of null input arrays differs
in the new method: inserting X into a null array results in null not X . |
org.apache.commons.lang3.ArrayUtils.add(short[], int, short) |
this method has been superseded by
ArrayUtils.insert(int, short[], short...) and
may be removed in a future release. Please note the handling of null input arrays differs
in the new method: inserting X into a null array results in null not X . |
org.apache.commons.lang3.ArrayUtils.add(T[], int, T) |
this method has been superseded by
insert(int, T[], T...) and
may be removed in a future release. Please note the handling of null input arrays differs
in the new method: inserting X into a null array results in null not X . |
org.apache.commons.lang3.time.FastDateFormat.applyRules(Calendar, StringBuffer) | |
org.apache.commons.lang3.time.FastDatePrinter.applyRules(Calendar, StringBuffer) | |
org.apache.commons.lang3.StringUtils.chomp(String, String) |
This feature will be removed in Lang 4.0, use
StringUtils.removeEnd(String, String) instead |
org.apache.commons.lang3.ObjectUtils.equals(Object, Object) |
this method has been replaced by
java.util.Objects.equals(Object, Object) in Java 7 and will
be removed from future releases. |
org.apache.commons.lang3.StringEscapeUtils.escapeXml(String) | |
org.apache.commons.lang3.time.DatePrinter.format(long, StringBuffer) | |
org.apache.commons.lang3.time.DatePrinter.format(Calendar, StringBuffer) | |
org.apache.commons.lang3.time.DatePrinter.format(Date, StringBuffer) | |
org.apache.commons.lang3.time.FastDateFormat.format(long, StringBuffer) | |
org.apache.commons.lang3.time.FastDateFormat.format(Calendar, StringBuffer) | |
org.apache.commons.lang3.time.FastDateFormat.format(Date, StringBuffer) | |
org.apache.commons.lang3.time.FastDatePrinter.format(Object, StringBuffer, FieldPosition) | |
org.apache.commons.lang3.exception.ExceptionUtils.getCause(Throwable) |
This feature will be removed in Lang 4.0, use
Throwable.getCause() instead |
org.apache.commons.lang3.exception.ExceptionUtils.getCause(Throwable, String[]) |
This feature will be removed in Lang 4.0, use
Throwable.getCause() instead |
org.apache.commons.lang3.exception.ExceptionUtils.getDefaultCauseMethodNames() |
This feature will be removed in Lang 4.0
|
org.apache.commons.lang3.StringUtils.getFuzzyDistance(CharSequence, CharSequence, Locale) |
as of 3.6, use commons-text
FuzzyScore instead
|
org.apache.commons.lang3.StringUtils.getJaroWinklerDistance(CharSequence, CharSequence) |
as of 3.6, use commons-text
JaroWinklerDistance instead
|
org.apache.commons.lang3.StringUtils.getLevenshteinDistance(CharSequence, CharSequence) |
as of 3.6, use commons-text
LevenshteinDistance instead
|
org.apache.commons.lang3.StringUtils.getLevenshteinDistance(CharSequence, CharSequence, int) |
as of 3.6, use commons-text
LevenshteinDistance instead
|
org.apache.commons.lang3.ObjectUtils.hashCode(Object) |
this method has been replaced by
java.util.Objects.hashCode(Object) in Java 7 and will be
removed in future releases |
org.apache.commons.lang3.ObjectUtils.hashCodeMulti(Object...) |
this method has been replaced by
java.util.Objects.hash(Object...) in Java 7 and will be
removed in future releases. |
org.apache.commons.lang3.ObjectUtils.identityToString(StrBuilder, Object) |
as of 3.6, because StrBuilder was moved to commons-text,
use one of the other
identityToString methods instead |
org.apache.commons.lang3.ArrayUtils.isEquals(Object, Object) |
this method has been replaced by
java.util.Objects.deepEquals(Object, Object) and will be
removed from future releases. |
org.apache.commons.lang3.math.NumberUtils.isNumber(String) |
This feature will be removed in Lang 4.0,
use
NumberUtils.isCreatable(String) instead |
org.apache.commons.lang3.CharEncoding.isSupported(String) |
Please use
Charset.isSupported(String) instead, although be aware that null
values are not accepted by that method and an IllegalCharsetNameException may be thrown. |
org.apache.commons.lang3.CharUtils.toCharacterObject(char) |
Java 5 introduced
Character.valueOf(char) which caches chars 0 through 127. |
org.apache.commons.lang3.ObjectUtils.toString(Object) |
this method has been replaced by
java.util.Objects.toString(Object) in Java 7 and will be
removed in future releases. Note however that said method will return "null" for null references, while this
method returns an empty String. To preserve behavior use java.util.Objects.toString(myObject, "") |
org.apache.commons.lang3.ObjectUtils.toString(Object, String) |
this method has been replaced by
java.util.Objects.toString(Object, String) in Java 7 and
will be removed in future releases. |
org.apache.commons.lang3.StringUtils.toString(byte[], String) |
use
StringUtils.toEncodedString(byte[], Charset) instead of String constants in your code |
Enum Constant | Description |
---|---|
org.apache.commons.lang3.JavaVersion.JAVA_1_9 |
As of release 3.5, replaced by
JavaVersion.JAVA_9 |
Copyright © 2001–2018. All rights reserved.