org.springframework.beans.propertyeditors
Class FileEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.springframework.beans.propertyeditors.FileEditor
All Implemented Interfaces:
PropertyEditor

public class FileEditor
extends PropertyEditorSupport

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

Since:
09.12.2003
Author:
Juergen Hoeller
See Also:
File

Constructor Summary
FileEditor()
           
 
Method Summary
 String getAsText()
           
 void setAsText(String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileEditor

public FileEditor()
Method Detail

setAsText

public void setAsText(String text)
               throws IllegalArgumentException
Throws:
IllegalArgumentException

getAsText

public String getAsText()


Copyright (C) 2003-2004 The Spring Framework Project.