org.apache.tools.ant.util.regexp
Class RegexpUtil
java.lang.Object
org.apache.tools.ant.util.regexp.RegexpUtil
public class RegexpUtil
extends java.lang.Object
Regular expression utilities class which handles flag operations.
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.
|
hasFlag
public static boolean hasFlag(int options,
int flag)
Check the options has a particular flag set.
options
- an int
valueflag
- an int
value
removeFlag
public static int removeFlag(int options,
int flag)
Remove a particular flag from an int value contains the option flags.
options
- an int
valueflag
- an int
value
- the options with the flag unset
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.