open class StringTrimmerEditor : PropertyEditorSupport
Property editor that trims Strings.
Optionally allows transforming an empty string into a null
value. Needs to be explicitly registered, e.g. for command binding.
Author
Juergen Hoeller
See Also
org.springframework.validation.DataBinder#registerCustomEditor
StringTrimmerEditor(emptyAsNull: Boolean) StringTrimmerEditor(charsToDelete: String, emptyAsNull: Boolean)
Create a new StringTrimmerEditor. |
open fun getAsText(): String |
|
open fun setAsText(text: String): Unit |