commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject [beanutils] ArrayConverter question
Date Mon, 29 Sep 2003 05:00:25 GMT

Looking at the converters, there is a batch of XxxArrayConverters. These
extend AbstractArrayConverter which has the code necessary to parse a
comma delimited array.

My question being, why does CharacterArrayConverter et al even exist?

It seems that there could easily be an ArrayConverter which is created
with a Converter object and optionally another Object which is the default
value. If no array default, then it would return a similar array based on
the value returned from the passed in converter [which might be its
default].

Am I missing something?

Hen


Mime
View raw message