Example#enableLike(MatchMode)
| Modifier and Type | Field and Description |
|---|---|
| public static final MatchMode | ANYWHERE
Match the pattern anywhere in the string |
| public static final MatchMode | END
Match the end of the string to the pattern |
| public static final MatchMode | EXACT
Match the entire string to the pattern |
| public static final MatchMode | START
Match the start of the string to the pattern |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public abstract String | Returns: The converted patternThe pattern for convert according to the mode pattern)Convert the pattern, by appending/prepending "%" |
| public static MatchMode | |
| public static MatchMode[] |
| ANYWHERE | back to summary |
|---|---|
| public static final MatchMode ANYWHERE Match the pattern anywhere in the string | |
| END | back to summary |
|---|---|
| public static final MatchMode END Match the end of the string to the pattern | |
| EXACT | back to summary |
|---|---|
| public static final MatchMode EXACT Match the entire string to the pattern | |
| START | back to summary |
|---|---|
| public static final MatchMode START Match the start of the string to the pattern | |
| MatchMode | back to summary |
|---|---|
| private MatchMode() | |
| toMatchString | back to summary |
|---|---|
| public abstract String toMatchString(String pattern) Convert the pattern, by appending/prepending "%" | |
| valueOf | back to summary |
|---|---|
| public static MatchMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static MatchMode[] values() | |