Class FileEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor, PropertyEditor<java.io.File>

    public class FileEditor
    extends PropertyEditorSupport<java.io.File>
    A property editor for File.
    • Constructor Detail

      • FileEditor

        public FileEditor()
    • 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.io.File>
        Specified by:
        setAsText in class PropertyEditorSupport<java.io.File>
        Parameters:
        text - The string to be parsed.