Class FastMessageFormat


  • public class FastMessageFormat
    extends Object
    Fast MessageFormat implementation which is not thread-safe. It is based on the assumptions that
    • most formats do not contain format types and styles
    • do not use escaping
    • format elements are in order
    If one of these assumptions fails, then it falls back to the original MessageFormat.
    To increase the benefit of this implementation, every instance should be reused as often as possible.