|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.PropertyEditorSupport
org.springframework.web.multipart.support.StringMultipartFileEditor
public class StringMultipartFileEditor
Custom PropertyEditor
for converting
MultipartFiles
to Strings.
Allows one to specify the charset to use.
Constructor Summary | |
---|---|
StringMultipartFileEditor()
Create a new StringMultipartFileEditor , using the default charset. |
|
StringMultipartFileEditor(java.lang.String charsetName)
Create a new StringMultipartFileEditor , using the given charset. |
Method Summary | |
---|---|
void |
setAsText(java.lang.String text)
|
void |
setValue(java.lang.Object value)
|
Methods inherited from class java.beans.PropertyEditorSupport |
---|
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringMultipartFileEditor()
StringMultipartFileEditor
, using the default charset.
public StringMultipartFileEditor(java.lang.String charsetName)
StringMultipartFileEditor
, using the given charset.
charsetName
- valid charset nameString.String(byte[],String)
Method Detail |
---|
public void setAsText(java.lang.String text)
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
public void setValue(java.lang.Object value)
setValue
in interface java.beans.PropertyEditor
setValue
in class java.beans.PropertyEditorSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |