org.springframework.beans.propertyeditors
Class URLEditor

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

public class URLEditor
extends java.beans.PropertyEditorSupport

Editor for java.net.URL, to directly feed a URL property instead of using a String property.

Since:
15.12.2003
Author:
Juergen Hoeller

Constructor Summary
URLEditor()
           
 
Method Summary
 java.lang.String getAsText()
           
 void setAsText(java.lang.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

URLEditor

public URLEditor()
Method Detail

setAsText

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

getAsText

public java.lang.String getAsText()


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