public class CharConverter extends Object implements TypeConverter<Character>
| Constructor and Description |
|---|
CharConverter() |
| Modifier and Type | Method and Description |
|---|---|
Character |
convert(String input)
Convert a string into a Character or null.
|
public Character convert(String input)
convert in interface TypeConverter<Character>input - the input string (this will NOT be trimmed)null if input is null or "", or the character in the string.CommandLineProcessingException - if the string has more than one characterCopyright © 2015. All rights reserved.