The Artima Developer Community
Sponsored Link

Java Community News
Apache Releases Commons Lang 2.3

1 reply on 1 page. Most recent reply: Feb 16, 2007 12:58 PM by Jess Sightler

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

Apache Releases Commons Lang 2.3 Posted: Feb 15, 2007 12:42 PM
Reply to this message Reply
Summary
Commons Lang is an Apache Jakarta project that extends the core Java libraries with a large set of additional APIs. The latest release includes new features in the StringUtils class, as well as in NumberBuilder and BooleanUtils, and includes several bug fixes.
Advertisement

Developers often end up writing many utility methods and classes that extend in small but useful ways the core Java APIs. Manipulating Strings, working with Number and Dates, or dealing with exceptions are all areas where the core Java APIs are often enhanced in convenient ways.

The Apache Commons Lang project has been collecting some useful, reusable extensions to the core Java APIs in an open-source project:

The Commons Lang library provides much needed additions to the standard JDK's java.lang package... Very generic, very reusable components for everyday use.

The top level package contains various Utils classes, whilst there are various subpackages including enums, exception and builder. Using the Utils classes is ... the equivalent of global functions in another language, a collection of stand-alone, thread-safe, static methods... Subpackages may contain interfaces which may have to be implemented or classes which may need to be extended to get the full functionality from the code. They may, however, contain more global-like functions.

Now in release 2.3, Commons Lang offers utilities in the following areas:

  • String manipulation: StringUtils, StringEscapeUtils, RandomStringUtils, Tokenizer, WordUtils
  • Character handling: CharSetUtils, CharSet, CharRange, CharUtils
  • JVM interaction: SystemUtils, CharEncoding
  • Serialization: SerializationUtils, SerializationException
  • Assorted functions: ObjectUtils, ClassUtils, ArrayUtils, BooleanUtils

What types of utility methods do you find yourself writing over and over in different projects?


Jess Sightler

Posts: 4
Nickname: jsight
Registered: Feb, 2005

Re: Apache Releases Commons Lang 2.3 Posted: Feb 16, 2007 12:58 PM
Reply to this message Reply
Various stuff mostly. :)

More interesting to me would be what are the significant changes and improvements included in this release?

Flat View: This topic has 1 reply on 1 page
Topic: New and Updated Desktop Features in Java SE 6 Previous Topic   Next Topic Topic: Develop an Ajax Application with Dojo and DB2

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use