com.interface21.beans.propertyeditors
Class PropertiesEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--com.interface21.beans.propertyeditors.PropertiesEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class PropertiesEditor
extends java.beans.PropertyEditorSupport

Editor for java.util.Properties objects. Handles conversion from String to Properties object. Not a GUI editor.
NB: this editor must be registered with the JavaBeans API before it will be available. Editors in this package are registered by BeanWrapperImpl.
The required format is defined in java.util.Properties documentation. Each property must be on a new line.

Version:
$Id: PropertiesEditor.java,v 1.5 2003/05/21 21:15:20 johnsonr Exp $
Author:
Rod Johnson

Constructor Summary
PropertiesEditor()
           
 
Method Summary
 void setAsText(java.lang.String s)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, 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

PropertiesEditor

public PropertiesEditor()
Method Detail

setAsText

public void setAsText(java.lang.String s)
               throws java.lang.IllegalArgumentException
Overrides:
setAsText in class java.beans.PropertyEditorSupport
See Also:
PropertyEditor.setAsText(String)


Rod Johnson and Spring contributors 2001-2003.