Class StringToMultipartFile

  • All Implemented Interfaces:
    org.springframework.binding.convert.converters.Converter, org.springframework.binding.convert.converters.TwoWayConverter

    public class StringToMultipartFile
    extends org.springframework.binding.convert.converters.StringToObject
    • Constructor Detail

      • StringToMultipartFile

        public StringToMultipartFile()
    • Method Detail

      • toObject

        protected Object toObject​(String string,
                                  Class targetClass)
                           throws Exception
        Specified by:
        toObject in class org.springframework.binding.convert.converters.StringToObject
        Throws:
        Exception
      • toString

        protected String toString​(Object object)
                           throws Exception
        Specified by:
        toString in class org.springframework.binding.convert.converters.StringToObject
        Throws:
        Exception