类 InputSourceEditor
- java.lang.Object
- java.beans.PropertyEditorSupport
- org.springframework.beans.propertyeditors.InputSourceEditor
- 所有已实现的接口:
PropertyEditor
public class InputSourceEditor extends PropertyEditorSupport
Editor fororg.xml.sax.InputSource
, converting from a Spring resource location String to a SAX InputSource object.Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL.
- 从以下版本开始:
- 3.0.3
- 作者:
- Juergen Hoeller
- 另请参阅:
InputSource
,ResourceEditor
,ResourceLoader
,URLEditor
,FileEditor
构造器概要
构造器 构造器 说明 InputSourceEditor()
Create a new InputSourceEditor, using the default ResourceEditor underneath.InputSourceEditor(ResourceEditor resourceEditor)
Create a new InputSourceEditor, using the given ResourceEditor underneath.
构造器详细资料
InputSourceEditor
public InputSourceEditor()
Create a new InputSourceEditor, using the default ResourceEditor underneath.
InputSourceEditor
public InputSourceEditor(ResourceEditor resourceEditor)
Create a new InputSourceEditor, using the given ResourceEditor underneath.- 参数:
resourceEditor
- the ResourceEditor to use
方法详细资料
setAsText
public void setAsText(String text) throws IllegalArgumentException
- 指定者:
setAsText
在接口中PropertyEditor
- 覆盖:
setAsText
在类中PropertyEditorSupport
- 抛出:
IllegalArgumentException
getAsText
public String getAsText()
- 指定者:
getAsText
在接口中PropertyEditor
- 覆盖:
getAsText
在类中PropertyEditorSupport