add note about toPattern() differences pre JDK 1.4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@600602 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0d575a6952
commit
b952b75526
|
@ -29,9 +29,16 @@ import org.apache.commons.lang.Validate;
|
||||||
* Extends <code>MessageFormat</code> to allow pluggable/additional formatting
|
* Extends <code>MessageFormat</code> to allow pluggable/additional formatting
|
||||||
* options for embedded format elements; requires a "meta-format", i.e. a
|
* options for embedded format elements; requires a "meta-format", i.e. a
|
||||||
* <code>Format</code> capable of parsing and formatting other
|
* <code>Format</code> capable of parsing and formatting other
|
||||||
* <code>Format</code>s. One shortcoming is that recursive choice formats do
|
* <code>Format</code>s.
|
||||||
* not inherit knowledge of the extended formatters and are limited to those
|
*
|
||||||
* available with <code>java.text.MessageFormat</code> (patches welcome).
|
* Limitations:
|
||||||
|
* <ul>
|
||||||
|
* <li><code>toPattern()</code> results are tailored to JDK 1.4+ output and
|
||||||
|
* will produce fairly drastically different results on earlier JDKs.</li>
|
||||||
|
* <li>Recursive choice formats do not inherit knowledge of the extended
|
||||||
|
* formatters and are limited to those available with
|
||||||
|
* <code>java.text.MessageFormat</code>.</li>
|
||||||
|
* </ul>
|
||||||
*
|
*
|
||||||
* @author Matt Benson
|
* @author Matt Benson
|
||||||
* @since 2.4
|
* @since 2.4
|
||||||
|
|
Loading…
Reference in New Issue