open class InputStreamEditor : PropertyEditorSupport
One-way PropertyEditor which can convert from a text String to a java.io.InputStream, interpreting the given String as a Spring resource location (e.g. a URL String).
Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc.) and Spring's special "classpath:" pseudo-URL.
Note that such streams usually do not get closed by Spring itself!
Author
Juergen Hoeller
Since
1.0.1
See Also
java.io.InputStreamorg.springframework.core.io.ResourceEditororg.springframework.core.io.ResourceLoaderURLEditorFileEditor
InputStreamEditor()
Create a new InputStreamEditor, using the default ResourceEditor underneath. InputStreamEditor(resourceEditor: ResourceEditor)
Create a new InputStreamEditor, using the given ResourceEditor underneath. |
open fun getAsText(): String
This implementation returns |
|
open fun setAsText(text: String): Unit |