1 18 19 package org.apache.tools.ant.util.regexp; 20 21 import java.util.Vector ; 22 import org.apache.tools.ant.BuildException; 23 24 28 public interface RegexpMatcher { 29 30 34 int MATCH_DEFAULT = 0x00000000; 35 36 39 int MATCH_CASE_INSENSITIVE = 0x00000100; 40 41 44 int MATCH_MULTILINE = 0x00001000; 45 46 49 int MATCH_SINGLELINE = 0x00010000; 50 51 52 57 void setPattern(String pattern) throws BuildException; 58 59 64 String getPattern() throws BuildException; 65 66 72 boolean matches(String argument) throws BuildException; 73 74 85 Vector getGroups(String argument) throws BuildException; 86 87 96 boolean matches(String input, int options) throws BuildException; 97 98 107 Vector getGroups(String input, int options) throws BuildException; 108 109 } 110 | Popular Tags |