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 forFormatOption, seeIStringConverterandFormatOption.fromOption(String).- Author:
- Carl Wilson
-
-
Constructor Summary
Constructors Constructor Description FormatConverter()
-
-
-
Method Detail
-
convert
public FormatOption convert(String value)
{ @inheritDoc }- Specified by:
convertin interfaceIStringConverter<FormatOption>- Returns:
- an object of type T created from the parameter value.
-
-