Class ArrayToStringConverter
- java.lang.Object
-
- biz.gabrys.maven.plugin.util.parameter.converter.ArrayToStringConverter
-
- All Implemented Interfaces:
ValueToStringConverter
public class ArrayToStringConverter extends Object implements ValueToStringConverter
Responsible for converting arrays to string representation.- Since:
- 1.3.0
-
-
Constructor Summary
Constructors Constructor Description ArrayToStringConverter()
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convert(Object value)
Converts a parameter value to string representation.
-
-
-
Method Detail
-
convert
public String convert(Object value)
Converts a parameter value to string representation. This method is null safe.- Specified by:
convert
in interfaceValueToStringConverter
- Parameters:
value
- the parameter value.- Returns:
- the string representation of the parameter value (never
null
). - Since:
- 1.3.0
-
-