Class StringToClassConverter

    • Constructor Detail

      • StringToClassConverter

        public StringToClassConverter()
    • Method Detail

      • doConvert

        protected java.lang.Class doConvert​(java.lang.String className)
        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.Class>
        Parameters:
        className - the non-null source-typed value
        Returns:
        the converted target-typed value, or null if conversion is not possible