Package org.apache.commons.lang
Provides highly reusable static utility methods, chiefly concerned
with adding value to the
java.lang
classes.- Since:
- 1.0
Most of these classes are immutable and thus thread-safe. However Charset is not currently guaranteed thread-safe under all circumstances.
-
Interface Summary Interface Description Entities.EntityMap -
Class Summary Class Description ArrayUtils Operations on arrays, primitive arrays (likeint[]
) and primitive wrapper arrays (likeInteger[]
).BitField Operations on bit-mapped fields.BooleanUtils Operations on boolean primitives and Boolean objects.CharEncoding Character encoding names required of every implementation of the Java platform.CharRange A contiguous range of characters, optionally negated.CharRange.CharacterIterator CharacterIterator
.CharSet A set of characters.CharSetUtils Operations onCharSet
s.CharUtils Operations on char primitives and Character objects.ClassUtils Operates on classes without using reflection.Entities Provides HTML and XML entity utilities.Entities.ArrayEntityMap Entities.BinaryEntityMap Entities.HashEntityMap Entities.LookupEntityMap Entities.MapIntMap Entities.PrimitiveEntityMap Entities.TreeEntityMap IntHashMap A hash map that uses primitive ints for the key rather than objects.IntHashMap.Entry Innerclass that acts as a datastructure to create a new entry in the table.LocaleUtils Operations to assist when working with aLocale
.NumberRange Deprecated. Use one of the Range classes in org.apache.commons.lang.math.NumberUtils Deprecated. Moved to org.apache.commons.lang.math.ObjectUtils Operations onObject
.ObjectUtils.Null Class used as a null placeholder wherenull
has another meaning.RandomStringUtils Operations for randomString
s.SerializationUtils Assists with the serialization process and performs additional functionality based on serialization.StringEscapeUtils Escapes and unescapesString
s for Java, Java Script, HTML, XML, and SQL.StringUtils Operations onString
that arenull
safe.SystemUtils Helpers forjava.lang.System
.Validate This class assists in validating arguments.WordUtils Operations on Strings that contain words. -
Exception Summary Exception Description IllegalClassException Thrown when an object is an instance of an unexpected type (a class or interface).IncompleteArgumentException Thrown to indicate an incomplete argument to a method.NotImplementedException Thrown to indicate that a block of code has not been implemented.NullArgumentException Thrown to indicate that an argument wasnull
and should not have been.SerializationException Exception thrown when the Serialization process fails.UnhandledException Thrown when it is impossible or undesirable to consume or throw a checked exception.