| Access | Constructor and Description |
|---|---|
| public | IntegerConversion()
Creates a Conversion from String to Integer with default values to return when the input is null. |
| public | IntegerConversion(Integer
default Integer value to be returned when the input String is null. Used when valueIfStringIsNull, String ObjectConversion#execute(String) is invoked.default String value to be returned when a Integer input is null. Used when valueIfObjectIsNull)revert(Integer) is invoked.Creates a Conversion from String to Integer with default values to return when the input is null. |
| Modifier and Type | Method and Description |
|---|---|
| protected Integer | fromString(String
The String to be converted to T input)Implements abstract com. |
| IntegerConversion | back to summary |
|---|---|
| public IntegerConversion() Creates a Conversion from String to Integer with default values to return when the input is null. This default constructor assumes the output of a conversion should be null when input is null | |
| IntegerConversion | back to summary |
|---|---|
| public IntegerConversion(Integer valueIfStringIsNull, String valueIfObjectIsNull) Creates a Conversion from String to Integer with default values to return when the input is null.
| |
| fromString | back to summary |
|---|---|
| protected Integer fromString(String input) Implements abstract com. Converts a String to Integer.
| |