public class

StringMultipartFileEditor

extends PropertyEditorSupport
java.lang.Object
   ↳ java.beans.PropertyEditorSupport
     ↳ org.springframework.web.multipart.support.StringMultipartFileEditor

Class Overview

Custom java.beans.PropertyEditor for converting MultipartFiles to Strings.

Allows one to specify the charset to use.

Summary

Public Constructors
StringMultipartFileEditor()
Create a new StringMultipartFileEditor, using the default charset.
StringMultipartFileEditor(String charsetName)
Create a new StringMultipartFileEditor, using the given charset.
Public Methods
void setAsText(String text)
void setValue(Object value)
[Expand]
Inherited Methods
From class java.beans.PropertyEditorSupport
From class java.lang.Object
From interface java.beans.PropertyEditor

Public Constructors

public StringMultipartFileEditor ()

Create a new StringMultipartFileEditor, using the default charset.

public StringMultipartFileEditor (String charsetName)

Create a new StringMultipartFileEditor, using the given charset.

Parameters
charsetName valid charset name

Public Methods

public void setAsText (String text)

public void setValue (Object value)