Constructor and Description |
---|
LongConverter() |
Modifier and Type | Method and Description |
---|---|
Long |
convert(String parameterValue)
Converts the specified string parameter
value to a given type. |
public Long convert(String parameterValue) throws ConversionException
Converter
value
to a given type. If the conversion is impossible,
a checked exception that contains the cause is thrown.convert
in interface Converter<Long>
parameterValue
- the string value to convert.ConversionException
- if an error occurred during the conversion.