public class MicrosoftTypesConverter extends AbstractBaseConverter<Integer>
String
into a SQL Types Integer
.
For a description of the format, see Types
.
Example:
@Parameter(names = { "--types" }, converter = TypesConverter.class)
private Types types;
Types
failOnNull, targetClass
Constructor and Description |
---|
MicrosoftTypesConverter(String optionName)
Constructs a converter.
|
Modifier and Type | Method and Description |
---|---|
protected Integer |
convertImpl(String value)
Converts a value.
|
convert, getErrorString, isSingle, newParameterException, newParameterException, split, toInt, toURI
public MicrosoftTypesConverter(String optionName)
optionName
- The option name, may be null.protected Integer convertImpl(String value)
AbstractBaseConverter
convertImpl
in class AbstractBaseConverter<Integer>
value
- the value to convertCopyright © 2016-2016 Gary Gregory. All Rights Reserved.
Use is subject to The Apache Software License, Version 2.0