net.sf.morph.util
Class ResourceArrayInputStreamPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by net.sf.morph.util.ResourceArrayInputStreamPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class ResourceArrayInputStreamPropertyEditor
extends java.beans.PropertyEditorSupport

Drop-in replacement for Spring's InputStreamEditor to convert one or more Resources to an InputStream.

Author:
Matt Benson

Constructor Summary
ResourceArrayInputStreamPropertyEditor()
          Construct a new ResourceArrayInputStreamPropertyEditor.
ResourceArrayInputStreamPropertyEditor(org.springframework.core.io.support.ResourceArrayPropertyEditor resourceArrayPropertyEditor)
          Construct a new ResourceArrayInputStreamPropertyEditor.
 
Method Summary
 void setAsText(java.lang.String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, 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

ResourceArrayInputStreamPropertyEditor

public ResourceArrayInputStreamPropertyEditor()
Construct a new ResourceArrayInputStreamPropertyEditor.


ResourceArrayInputStreamPropertyEditor

public ResourceArrayInputStreamPropertyEditor(org.springframework.core.io.support.ResourceArrayPropertyEditor resourceArrayPropertyEditor)
Construct a new ResourceArrayInputStreamPropertyEditor.

Parameters:
resourceArrayPropertyEditor -
Method Detail

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException


Copyright © 2004-2008.