类 StringMultipartFileEditor
- java.lang.Object
- java.beans.PropertyEditorSupport
- org.springframework.web.multipart.support.StringMultipartFileEditor
- 所有已实现的接口:
PropertyEditor
public class StringMultipartFileEditor extends PropertyEditorSupport
CustomPropertyEditor
for convertingMultipartFiles
to Strings.Allows one to specify the charset to use.
- 从以下版本开始:
- 13.10.2003
- 作者:
- Juergen Hoeller
构造器概要
构造器 构造器 说明 StringMultipartFileEditor()
Create a newStringMultipartFileEditor
, using the default charset.StringMultipartFileEditor(String charsetName)
Create a newStringMultipartFileEditor
, using the given charset.
构造器详细资料
StringMultipartFileEditor
public StringMultipartFileEditor()
Create a newStringMultipartFileEditor
, using the default charset.
StringMultipartFileEditor
public StringMultipartFileEditor(String charsetName)
Create a newStringMultipartFileEditor
, using the given charset.- 参数:
charsetName
- valid charset name- 另请参阅:
String(byte[],String)
方法详细资料
setAsText
public void setAsText(String text)
- 指定者:
setAsText
在接口中PropertyEditor
- 覆盖:
setAsText
在类中PropertyEditorSupport
setValue
public void setValue(Object value)
- 指定者:
setValue
在接口中PropertyEditor
- 覆盖:
setValue
在类中PropertyEditorSupport