Class StringToDoubleConverter

    • Constructor Detail

      • StringToDoubleConverter

        public StringToDoubleConverter()
    • Method Detail

      • doConvert

        protected java.lang.Double doConvert​(java.lang.String source)
        Description copied from class: AbstractConverter
        Converts the non-null source-typed value to the target-typed value.

        This method is called by AbstractConverter.convert(Object) after checking if the source is null. Subclasses must implement this method to provide the actual conversion logic.

        Specified by:
        doConvert in class AbstractConverter<java.lang.String,​java.lang.Double>
        Parameters:
        source - the non-null source-typed value
        Returns:
        the converted target-typed value, or null if conversion is not possible