org.springframework.beans.propertyeditors
Class FileEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--org.springframework.beans.propertyeditors.FileEditor

public class FileEditor
extends PropertyEditorSupport

Editor for java.io.File, to directly feed a File property instead of using a String file name property.

Author:
Juergen Hoeller
Since: 09.12.2003
See Also: File

Method Summary
 StringgetAsText()
           
 voidsetAsText(String text)
           

Methods inherited from class java.beans.PropertyEditorSupport
firePropertyChange, isPaintable, supportsCustomEditor, getCustomEditor, addPropertyChangeListener, removePropertyChangeListener, getValue, setValue, getJavaInitializationString, getTags, paintValue

Methods inherited from class java.lang.Object
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals, toString

Method Detail

getAsText

public String getAsText()

setAsText

public void setAsText(String text)
throws java.lang.IllegalArgumentException