Package org.jsonschema2pojo.cli
Class ClassConverter
java.lang.Object
com.beust.jcommander.converters.BaseConverter<Class>
org.jsonschema2pojo.cli.ClassConverter
- All Implemented Interfaces:
com.beust.jcommander.IStringConverter<Class>
A converter that can create a class given a fully qualified class name. Type
parameters for the class are omitted, since they are no use to JCommander at
runtime (and the wild-cards prove problematic when attaching this converter
to an option).
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.beust.jcommander.converters.BaseConverter
getErrorString, getOptionName
-
Constructor Details
-
ClassConverter
Create a new class converter.- Parameters:
optionName- The name of the option that will be using this converter.
-
-
Method Details
-
convert
-