|
|||||||||
| 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)
Deprecated. as of Spring 3.1 in favor of #ResourceEditorRegistrar(ResourceLoader, Environment) |
|
ResourceEditorRegistrar(ResourceLoader resourceLoader,
PropertyResolver propertyResolver)
Create a new ResourceEditorRegistrar for the given ResourceLoader |
|
| Method Summary | |
|---|---|
void |
registerCustomEditors(PropertyEditorRegistry registry)
Populate the given registry with the following resource editors:
ResourceEditor, InputStreamEditor, InputSourceEditor, FileEditor, URLEditor,
URIEditor, ClassEditor, ClassArrayEditor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public ResourceEditorRegistrar(ResourceLoader resourceLoader)
#ResourceEditorRegistrar(ResourceLoader, Environment)
ResourceLoader
using a StandardEnvironment.
resourceLoader - the ResourceLoader (or ResourcePatternResolver)
to create editors for (usually an ApplicationContext)ResourcePatternResolver,
ApplicationContext
public ResourceEditorRegistrar(ResourceLoader resourceLoader,
PropertyResolver propertyResolver)
resourceLoader - the ResourceLoader (or ResourcePatternResolver)
to create editors for (usually an ApplicationContext)ResourcePatternResolver,
ApplicationContext| Method Detail |
|---|
public void registerCustomEditors(PropertyEditorRegistry registry)
registry with the following resource editors:
ResourceEditor, InputStreamEditor, InputSourceEditor, FileEditor, URLEditor,
URIEditor, ClassEditor, ClassArrayEditor.
If this registrar has been configured with a ResourcePatternResolver,
a ResourceArrayPropertyEditor will be registered as well.
registerCustomEditors in interface PropertyEditorRegistrarregistry - the PropertyEditorRegistry to register the
custom PropertyEditors withResourceEditor,
InputStreamEditor,
InputSourceEditor,
FileEditor,
URLEditor,
URIEditor,
ClassEditor,
ClassArrayEditor,
ResourceArrayPropertyEditor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||