Package org.verapdf.cli.commands
Class VeraCliArgParser.FormatConverter
java.lang.Object
org.verapdf.cli.commands.VeraCliArgParser.FormatConverter
- All Implemented Interfaces:
IStringConverter<FormatOption>
- Enclosing class:
- VeraCliArgParser
public static final class VeraCliArgParser.FormatConverter
extends Object
implements IStringConverter<FormatOption>
JCommander parameter converter for
FormatOption, see
IStringConverter and FormatOption.fromOption(String).- Author:
- Carl Wilson
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FormatConverter
public FormatConverter()
-
-
Method Details
-
convert
{ @inheritDoc }- Specified by:
convertin interfaceIStringConverter<FormatOption>- Returns:
- an object of type T created from the parameter value.
-