spring-framework / org.springframework.beans.propertyeditors / PatternEditor

PatternEditor

open class PatternEditor : PropertyEditorSupport

Editor for java.util.regex.Pattern, to directly populate a Pattern property. Expects the same syntax as Pattern's compile method.

Author
Juergen Hoeller

Since
2.0.1

See Also
java.util.regex.Patternjava.util.regex.Pattern#compile(String)

Constructors

<init>

PatternEditor()

Create a new PatternEditor with default settings.

PatternEditor(flags: Int)

Create a new PatternEditor with the given settings.

Functions

getAsText

open fun getAsText(): String

setAsText

open fun setAsText(text: String): Unit