ArrayConverter

public class ArrayConverter<T> extends AbstractStringConverter<T[]>

An array converter that uses another converter for it’s items. This allows this converter to be composed with another one and allow you to convert your types even if they are in an array. User: nikolavp Date: 20/03/14 Time: 19:34

Parameters:
  • <T> – The type of the items in the list that this converter accepts

Constructors

ArrayConverter

public ArrayConverter(Converter<T> typeConverter)

Creates an array converter that will use the other converter for it’s items and just make array structure human readable.

Parameters:
  • typeConverter – the converters for the items in the array

Methods

getStringForm

protected String getStringForm(T[] values)