| java.lang.Object org.apache.tools.ant.util.regexp.RegexpUtil
RegexpUtil | public class RegexpUtil (Code) | | Regular expression utilities class which handles flag operations.
|
Method Summary | |
public static boolean | hasFlag(int options, int flag) Check the options has a particular flag set. | public 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)(Code) | | Check the options has a particular flag set.
Parameters: options - an int value Parameters: flag - an int value true if the flag is set |
removeFlag | public static int removeFlag(int options, int flag)(Code) | | Remove a particular flag from an int value contains the option flags.
Parameters: options - an int value Parameters: flag - an int value the options with the flag unset |
|
|