public class ConverterStringInteger extends Object implements IConverter<String,Integer>
| Constructor and Description |
|---|
ConverterStringInteger() |
ConverterStringInteger(Integer aDefaultValue) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
convert(String sInput)
Convert the passed source object to the destination type.
|
Integer |
getDefaultValue() |
@Nullable public Integer convert(@Nullable String sInput)
IConverterconvert in interface IConverter<String,Integer>sInput - The source object to be converted. No null or non-
null constraint possible.null or non- null
constraint possible.Copyright © 2014–2016 Philip Helger. All rights reserved.