org.apache.geronimo.common.propertyeditor
Class FileEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
          extended by org.apache.geronimo.common.propertyeditor.FileEditor
All Implemented Interfaces:
PropertyEditor

public class FileEditor
extends TextPropertyEditorSupport

A property editor for File.


Constructor Summary
FileEditor()
           
 
Method Summary
 Object getValue()
          Returns a URL for the input object converted to a string.
 
Methods inherited from class org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
setAsText
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, 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

getValue

public Object getValue()
Returns a URL for the input object converted to a string.

Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class PropertyEditorSupport
Returns:
a URL object
Throws:
PropertyEditorException - An IOException occured.


Copyright © 2006 Apache Software Foundation. All Rights Reserved.