com.beust.jcommander.converters
Class BaseConverter<T>
java.lang.Object
com.beust.jcommander.converters.BaseConverter<T>
- All Implemented Interfaces:
- IStringConverter<T>
- Direct Known Subclasses:
- BooleanConverter, IntegerConverter, LongConverter
public abstract class BaseConverter<T>
- extends Object
- implements IStringConverter<T>
Base class for converters that stores the name of the option.
- Author:
- cbeust
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseConverter
public BaseConverter(String optionName)
getOptionName
public String getOptionName()
getErrorString
protected String getErrorString(String value,
String to)
Copyright © 2011. All Rights Reserved.