java.util.regex.Pattern, to directly populate a Pattern property.
Expects the same syntax as Pattern's compile method.
java.util.regex.Pattern , java.util.regex.Pattern#compile(String)
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PatternEditor(int
the flags)java.util.regex.Pattern flags to applyCreate a new PatternEditor with the given settings. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAsText()
Overrides java. Implements java. |
| public void | setAsText(String
The string to be parsed. text)Overrides java. Implements java. |
| flags | back to summary |
|---|---|
| private final int flags | |
| PatternEditor | back to summary |
|---|---|
| public PatternEditor() Create a new PatternEditor with default settings. | |
| PatternEditor | back to summary |
|---|---|
| public PatternEditor(int flags) Create a new PatternEditor with the given settings.
| |
| getAsText | back to summary |
|---|---|
| public String getAsText() Overrides java. Implements java. Doc from java. Gets the property value as a string suitable for presentation to a human to edit. | |
| setAsText | back to summary |
|---|---|
| public void setAsText(String text) Overrides java. Implements java. Doc from java. Sets the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text. | |