Commons Lang
[http://jakarta.apache.org/commons/lang Lang] aims to provide:
- Comprehensive String handling utilities
- Enumerated types (pre JDK 1.5)
- Nested exceptions (pre JDK 1.4)
- Builders to create hashCode, equals, toString and compareTo methods
- Utilities for Object, Date and Numbers
The Javadoc of the latest version (2.1) is [http://jakarta.apache.org/commons/lang/api/index.html available].
The Javadoc of the CVS version (development) is [http://jakarta.apache.org/commons/lang/apidocs/index.html available].
Development plan for 2.2
- Bug fixes
- StrTokenizer
- StrBuilder
[VariableFormatter]/interpolator - [http://issues.apache.org/bugzilla/show_bug.cgi?id=18962 18962]
Other ideas
[http://issues.apache.org/bugzilla/show_bug.cgi?id=21663 21663] [lang] Add support in [ToStringStyle] for [DateFormat]. - Grows quickly into commons-convert
[http://issues.apache.org/bugzilla/show_bug.cgi?id=27643 27643] [lang][patch] [ClassUtils].newInstance method - Seems unnecessary
[http://issues.apache.org/bugzilla/show_bug.cgi?id=29149 29149] [lang] [StringEscapeUtils].unescapeHtml() doesn't handle an empty entity - Empty entity is in fact illegal HTML, so need to decide if we should ignore. Current behaviour seems acceptable as we're not in the work with bad HTML market.
[http://issues.apache.org/bugzilla/show_bug.cgi?id=26659 26659] [lang] add method to [DateUtils] to get the distance between 2 dates - Mainly replicated by [DurationFormatUtils], or non-obvious
[http://issues.apache.org/bugzilla/show_bug.cgi?id=29692 29692] [lang] String indentation feature request - Needs design as a non-simple problem
[http://issues.apache.org/bugzilla/show_bug.cgi?id=22172 22172] [lang] [DateUtils].parseCVS behavior parsing "h:mm z" - Moved to sandbox
[http://issues.apache.org/bugzilla/show_bug.cgi?id=26297 26297] [lang] [BitSetUtils] class, toIndexArray and fromIndexArray
[http://issues.apache.org/bugzilla/show_bug.cgi?id=21333 21333] Add [TimeoutController] - Class in [HttpClient]. Leaving til 3.0 as not much movement on it
[http://issues.apache.org/bugzilla/show_bug.cgi?id=30674 30674] Support [HttpClient]'s [DateParser] class - This is basically a Date parseDate(String dateValue, String[] dateFormats) method.
- LocaleUtils - including toLocale(String,String)
- CloneUtils - multiple ways to clone an object