|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.springframework.core.io.ResourceEditor
org.springframework.context.support.ContextResourceEditor
ApplicationContext-aware PropertyEditor for Resource descriptors.
Delegates to the ApplicationContext's getResource method for resolving resource locations to Resource descriptors. Resource loading behavior is specific to the context implementation.
ResourceLoader.getResource(java.lang.String)| Field Summary |
| Fields inherited from class org.springframework.core.io.ResourceEditor |
logger, PLACEHOLDER_PREFIX, PLACEHOLDER_SUFFIX |
| Constructor Summary | |
ContextResourceEditor(ApplicationContext applicationContext)
Create a new ContextResourceEditor for the given context. |
|
| Method Summary | |
void |
setAsText(java.lang.String text)
|
| Methods inherited from class org.springframework.core.io.ResourceEditor |
getResourceLoader, resolvePath |
| 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 |
public ContextResourceEditor(ApplicationContext applicationContext)
applicationContext - context to resolve resources with| Method Detail |
public void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText in interface java.beans.PropertyEditorsetAsText in class ResourceEditorjava.lang.IllegalArgumentException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||