|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.beans.support.ResourceEditorRegistrar
public class ResourceEditorRegistrar
PropertyEditorRegistrar implementation that populates a given
PropertyEditorRegistry
(typically a BeanWrapper
used for bean
creation within an ApplicationContext
)
with resource editors. Used by
AbstractApplicationContext
.
Constructor Summary | |
---|---|
ResourceEditorRegistrar(ResourceLoader resourceLoader)
Create a new ResourceEditorRegistrar for the given ResourceLoader |
Method Summary | |
---|---|
void |
registerCustomEditors(PropertyEditorRegistry registry)
Populate the given bean factory with the following resource editors: ResourceEditor, InputStreamEditor, FileEditor, URLEditor, ClassEditor, URIEditor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceEditorRegistrar(ResourceLoader resourceLoader)
resourceLoader
- the ResourceLoader (or ResourcePatternResolver)
to create editors for (usually an ApplicationContext)ResourcePatternResolver
,
ApplicationContext
Method Detail |
---|
public void registerCustomEditors(PropertyEditorRegistry registry)
In case of a ResourcePatternResolver
,
a ResourceArrayPropertyEditor will be registered as well.
registerCustomEditors
in interface PropertyEditorRegistrar
registry
- the PropertyEditorRegistry
to register the
custom PropertyEditors
withResourceEditor
,
InputStreamEditor
,
FileEditor
,
URLEditor
,
ClassEditor
,
URIEditor
,
ResourceArrayPropertyEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |