public class ShortConverter extends Object implements TypeConverter<Short>
Short.parseShort(),
so look there for all its peccadilloes.Short.parseShort(String)| Constructor and Description |
|---|
ShortConverter() |
| Modifier and Type | Method and Description |
|---|---|
Short |
convert(String input)
Convert a string into a Short or null.
|
public Short convert(String input)
convert in interface TypeConverter<Short>input - the input stringnull if input is null or blank, or a Short if the string is parseableCommandLineProcessingException - if the parse failsShort.parseShort(String)Copyright © 2015. All rights reserved.