org.springframework.web.multipart.support

Class ByteArrayMultipartFileEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor


    public class ByteArrayMultipartFileEditor
    extends ByteArrayPropertyEditor
    Custom PropertyEditor for converting MultipartFiles to byte arrays.
    Since:
    13.10.2003
    Author:
    Juergen Hoeller
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getAsText() 
      void setValue(java.lang.Object value) 
      • Methods inherited from class java.beans.PropertyEditorSupport

        addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteArrayMultipartFileEditor

        public ByteArrayMultipartFileEditor()
    • Method Detail

      • setValue

        public void setValue(@Nullable
                             java.lang.Object value)
        Specified by:
        setValue in interface java.beans.PropertyEditor
        Overrides:
        setValue in class java.beans.PropertyEditorSupport
      • getAsText

        public java.lang.String getAsText()
        Specified by:
        getAsText in interface java.beans.PropertyEditor
        Overrides:
        getAsText in class ByteArrayPropertyEditor