Class PropertiesEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor, PropertyEditor<java.util.Properties>

    public class PropertiesEditor
    extends PropertyEditorSupport<java.util.Properties>
    A property editor for Properties.
    • Constructor Detail

      • PropertiesEditor

        public PropertiesEditor()
    • Method Detail

      • setAsText

        public void setAsText​(java.lang.String text)
        Description copied from interface: PropertyEditor
        Set the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text.
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Specified by:
        setAsText in interface PropertyEditor<java.util.Properties>
        Specified by:
        setAsText in class PropertyEditorSupport<java.util.Properties>
        Parameters:
        text - The string to be parsed.