org.springframework.beans.support
Class ResourceEditorRegistrar
java.lang.Object
   org.springframework.beans.support.ResourceEditorRegistrar
org.springframework.beans.support.ResourceEditorRegistrar
- All Implemented Interfaces: 
- PropertyEditorRegistrar
- public class ResourceEditorRegistrar 
- extends Object- implements PropertyEditorRegistrar
PropertyEditorRegistrar implementation that populates a given
 PropertyEditorRegistry
 (typically a BeanWrapper used for bean
 creation within an ApplicationContext)
 with resource editors. Used by
 AbstractApplicationContext.
- Since:
- 2.0
- Author:
- Juergen Hoeller
 
| 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 | 
 
ResourceEditorRegistrar
public ResourceEditorRegistrar(ResourceLoader resourceLoader)
- Create a new ResourceEditorRegistrar for the given ResourceLoader
 
- Parameters:
- resourceLoader- the ResourceLoader (or ResourcePatternResolver)
 to create editors for (usually an ApplicationContext)
- See Also:
- ResourcePatternResolver,- ApplicationContext
 
registerCustomEditors
public void registerCustomEditors(PropertyEditorRegistry registry)
- Populate the given bean factory with the following resource editors:
 ResourceEditor, InputStreamEditor, FileEditor, URLEditor, ClassEditor, URIEditor.
 In case of a ResourcePatternResolver,
 a ResourceArrayPropertyEditor will be registered as well.
 
 
- 
- Specified by:
- registerCustomEditorsin interface- PropertyEditorRegistrar
 
- 
- Parameters:
- registry- the- PropertyEditorRegistryto register the
 custom- PropertyEditorswith
- See Also:
- ResourceEditor,- InputStreamEditor,- FileEditor,- URLEditor,- ClassEditor,- URIEditor,- ResourceArrayPropertyEditor
 
Copyright © 2002-2008 The Spring Framework.