Class CharArrayConverter

java.lang.Object
com.beust.jcommander.converters.CharArrayConverter
All Implemented Interfaces:
IStringConverter<char[]>

public class CharArrayConverter extends Object implements IStringConverter<char[]>
Converts a String to a char[].
  • Constructor Details

    • CharArrayConverter

      public CharArrayConverter()
  • Method Details

    • convert

      public char[] convert(String value)
      Specified by:
      convert in interface IStringConverter<char[]>
      Returns:
      an object of type T created from the parameter value.