public class RegexUtil extends Object
| Constructor and Description |
|---|
RegexUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasFlag(int options,
int flag)
Check the options has a particular flag set.
|
static int |
removeFlag(int options,
int flag)
Remove a particular flag from an int value contains the option flags.
|
static String |
select(String select,
Vector<String> groups)
Parse a select string, and merge it with a match groups
vector to produce an output string.
|
public static String select(String select, Vector<String> groups)
select - The select stringgroups - The match groupspublic static boolean hasFlag(int options,
int flag)
options - an int valueflag - an int valuepublic static int removeFlag(int options,
int flag)
options - an int valueflag - an int valueCopyright © 2001–2025. All rights reserved.