Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-227

[beanutils] Register converters by both target class and source class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • 1.8.0
    • None
    • Operating System: All
      Platform: All

    • 20686

    Description

      One of the big shortcomings I see with the ConvertUtils is that you can't
      intuitively register different converters based on source class. e.g.
      SomeClass to String, and OtherClass to String. Especially since multiple
      ConvertUtilsBeans can co-exist, it only makes sense to be able to get away from
      depending on the toString() method for ALL conversions to a String type (this
      is the nearest match that I can see to what I'm asking for).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ericpabst@discoverfinancial.com Eric Pabst
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: