Class StringToCharArrayConverter

    • Constructor Detail

      • StringToCharArrayConverter

        public StringToCharArrayConverter()
    • Method Detail

      • doConvert

        protected char[] 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,​char[]>
        Parameters:
        source - the non-null source-typed value
        Returns:
        the converted target-typed value, or null if conversion is not possible