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