Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » propertyeditors » [javadoc | source]
org.springframework.beans.propertyeditors
public class: InputStreamEditor [javadoc | source]
java.lang.Object
   java.beans.PropertyEditorSupport
      org.springframework.beans.propertyeditors.InputStreamEditor

All Implemented Interfaces:
    PropertyEditor

One-way PropertyEditor, which can convert from a text string to a java.io.InputStream, allowing InputStream properties to be set directly as a text string.

Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL.

Note that in the default usage, the stream is not closed by Spring itself!

Constructor:
 public InputStreamEditor() 
 public InputStreamEditor(ResourceEditor resourceEditor) 
    Create a new InputStreamEditor, using the given ResourceEditor underneath.
    Parameters:
    resourceEditor - the ResourceEditor to use
Method from org.springframework.beans.propertyeditors.InputStreamEditor Summary:
getAsText,   setAsText
Methods from java.beans.PropertyEditorSupport:
addPropertyChangeListener,   firePropertyChange,   getAsText,   getCustomEditor,   getJavaInitializationString,   getSource,   getTags,   getValue,   isPaintable,   paintValue,   removePropertyChangeListener,   setAsText,   setSource,   setValue,   supportsCustomEditor
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.propertyeditors.InputStreamEditor Detail:
 public String getAsText() 
    This implementation returns null to indicate that there is no appropriate text representation.
 public  void setAsText(String text) throws IllegalArgumentException