Class BaseConverter<T>

java.lang.Object
com.beust.jcommander.converters.BaseConverter<T>
All Implemented Interfaces:
IStringConverter<T>
Direct Known Subclasses:
BigDecimalConverter, BooleanConverter, DoubleConverter, FloatConverter, IntegerConverter, ISO8601DateConverter, LongConverter, PathConverter, URIConverter, URLConverter

public abstract class BaseConverter<T> extends Object implements IStringConverter<T>
Base class for converters that store the name of the option.
  • Constructor Details

    • BaseConverter

      public BaseConverter(String optionName)
  • Method Details

    • getOptionName

      public String getOptionName()
    • getErrorString

      protected String getErrorString(String value, String to)