For [configuration] there is currently a feature request [1] to add some data type conversion facilities. In the ticket the reporter describes an algorithm how to construct an object of class A from input of class B by first searching for a corresponding valueOf() method, and then - if this fails - trying to match a constructor.

I think, this is a pretty common use case, so it may make a useful addition to [lang]. (Maybe to ObjectUtils?)

Thoughts?

[1] https://issues.apache.org/jira/browse/CONFIGURATION-508

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to