org.springframework.beans.propertyeditors
Class InputStreamEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.springframework.beans.propertyeditors.InputStreamEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class InputStreamEditor
extends java.beans.PropertyEditorSupport

Editor for java.io.InputStream, to directly feed an InputStream property instead of using a String location property.

Since:
01.04.2004
Author:
Juergen Hoeller

Constructor Summary
InputStreamEditor()
          Create a new InputStreamEditor, using the default ResourceEditor underneath.
InputStreamEditor(ResourceEditor resourceEditor)
          Create a new InputStreamEditor, using the given ResourceEditor underneath.
 
Method Summary
 void setAsText(java.lang.String text)
           
 
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

InputStreamEditor

public InputStreamEditor()
Create a new InputStreamEditor, using the default ResourceEditor underneath.


InputStreamEditor

public InputStreamEditor(ResourceEditor resourceEditor)
Create a new InputStreamEditor, using the given ResourceEditor underneath.

Parameters:
resourceEditor - the ResourceEditor to use
Method Detail

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException


Copyright (C) 2003-2004 The Spring Framework Project.