Class ByteArrayMultipartFileEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.beans.propertyeditors.ByteArrayPropertyEditor
org.springframework.web.multipart.support.ByteArrayMultipartFileEditor
- All Implemented Interfaces:
PropertyEditor
Custom
PropertyEditor
for converting
MultipartFiles
to byte arrays.- Since:
- 13.10.2003
- Author:
- Juergen Hoeller
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.beans.propertyeditors.ByteArrayPropertyEditor
setAsText
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
-
Constructor Details
-
ByteArrayMultipartFileEditor
public ByteArrayMultipartFileEditor()
-
-
Method Details
-
setValue
- Specified by:
setValue
in interfacePropertyEditor
- Overrides:
setValue
in classPropertyEditorSupport
-
getAsText
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classByteArrayPropertyEditor
-