public class InputSourceEditor extends PropertyEditorSupport
org.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.
InputSource,
ResourceEditor,
ResourceLoader,
URLEditor,
FileEditor| 构造器和说明 |
|---|
InputSourceEditor()
Create a new InputSourceEditor,
using the default ResourceEditor underneath.
|
InputSourceEditor(org.springframework.core.io.ResourceEditor resourceEditor)
Create a new InputSourceEditor,
using the given ResourceEditor underneath.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAsText() |
void |
setAsText(String text) |
public InputSourceEditor()
public InputSourceEditor(org.springframework.core.io.ResourceEditor resourceEditor)
resourceEditor - the ResourceEditor to usepublic void setAsText(String text) throws IllegalArgumentException
setAsText 在接口中 PropertyEditorsetAsText 在类中 PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText 在接口中 PropertyEditorgetAsText 在类中 PropertyEditorSupport