Class StringMultipartFileEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.web.multipart.support.StringMultipartFileEditor
- All Implemented Interfaces:
- PropertyEditor
Custom 
PropertyEditor for converting
 MultipartFiles to Strings.
 Allows one to specify the charset to use.
- Since:
- 13.10.2003
- Author:
- Juergen Hoeller
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a newStringMultipartFileEditor, using the default charset.StringMultipartFileEditor(String charsetName) Create a newStringMultipartFileEditor, using the given charset.
- 
Method SummaryMethods inherited from class java.beans.PropertyEditorSupportaddPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
- 
Constructor Details- 
StringMultipartFileEditorpublic StringMultipartFileEditor()Create a newStringMultipartFileEditor, using the default charset.
- 
StringMultipartFileEditorCreate a newStringMultipartFileEditor, using the given charset.- Parameters:
- charsetName- valid charset name
- See Also:
 
 
- 
- 
Method Details- 
setAsText- Specified by:
- setAsTextin interface- PropertyEditor
- Overrides:
- setAsTextin class- PropertyEditorSupport
 
- 
setValue- Specified by:
- setValuein interface- PropertyEditor
- Overrides:
- setValuein class- PropertyEditorSupport
 
 
-