| Access | Constructor and Description |
|---|---|
| public | RegexMatcher(String
the regular expression pattern pattern, int modifying regex flags flags)Creates a matcher that uses the given regular expression, modified by the given flags. |
| Modifier and Type | Method and Description |
|---|---|
| public String | convert(String
the string to convert value)Implements joptsimple. |
| private void | |
| public static ValueConverter | |
| public String | valuePattern()
Implements joptsimple. |
| public Class | valueType()
Implements joptsimple. |
| pattern | back to summary |
|---|---|
| private final Pattern pattern | |
| RegexMatcher | back to summary |
|---|---|
| public RegexMatcher(String pattern, int flags) Creates a matcher that uses the given regular expression, modified by the given flags.
| |
| convert | back to summary |
|---|---|
| public String convert(String value) Implements joptsimple. Doc from joptsimple. Converts the given string value into a Java type. | |
| raiseValueConversionFailure | back to summary |
|---|---|
| private void raiseValueConversionFailure(String value) | |
| regex | back to summary |
|---|---|
| public static ValueConverter Gives a matcher that uses the given regular expression.
| |
| valuePattern | back to summary |
|---|---|
| public String valuePattern() Implements joptsimple. Doc from joptsimple. Gives a string that describes the pattern of the values this converter expects, if any. For example, a date
converter can respond with a
| |
| valueType | back to summary |
|---|---|
| public Class Implements joptsimple. Doc from joptsimple. Gives the class of the type of values this converter converts to. | |