Class ArrayValueConverter

  • All Implemented Interfaces:
    ValueConverter

    public class ArrayValueConverter
    extends Object
    implements ValueConverter
    An ValueConverter that handles Arrays. Conversion to arrays is done using a CSV string.
    Author:
    Thomas Morgner
    • Constructor Detail

      • ArrayValueConverter

        public ArrayValueConverter​(Class arrayClass,
                                   ValueConverter elementConverter)
        Creates a new ArrayValueConverter for the given element type and array type.
        Parameters:
        arrayClass - the array type
        elementConverter - the value converter for the array elements.