Class CompositeFormat

java.lang.Object
java.text.Format
org.apache.commons.lang3.text.CompositeFormat
All Implemented Interfaces:
Serializable, Cloneable

@Deprecated public class CompositeFormat extends Format
Deprecated.
As of 3.6, use Apache Commons Text CompositeFormat instead
Formats using one formatter and parses using a different formatter. An example of use for this would be a webapp where data is taken in one way and stored in a database another way.
See Also:
  • Constructor Details

    • CompositeFormat

      public CompositeFormat(Format parser, Format formatter)
      Deprecated.
      Create a format that points its parseObject method to one implementation and its format method to another.
      Parameters:
      parser - implementation
      formatter - implementation
  • Method Details