Class ByteArrayMultipartFileEditor
- java.lang.Object
- java.beans.PropertyEditorSupport
- org.springframework.beans.propertyeditors.ByteArrayPropertyEditor
- org.springframework.web.multipart.support.ByteArrayMultipartFileEditor
- All Implemented Interfaces:
PropertyEditor
public class ByteArrayMultipartFileEditor extends ByteArrayPropertyEditor
CustomPropertyEditorfor convertingMultipartFilesto byte arrays.- Since:
- 13.10.2003
- Author:
- Juergen Hoeller
Constructor Summary
Constructors Constructor Description ByteArrayMultipartFileEditor()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAsText()voidsetValue(Object value)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 Detail
ByteArrayMultipartFileEditor
public ByteArrayMultipartFileEditor()
Method Detail
setValue
public void setValue(Object value)
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
getAsText
public String getAsText()
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classByteArrayPropertyEditor