/[classpath]/classpath/java/util/regex/Pattern.java
ViewVC logotype

Diff of /classpath/java/util/regex/Pattern.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jewel, Fri Mar 8 20:44:52 2002 UTC revision 1.2 by ericb, Sat Mar 9 04:01:12 2002 UTC
# Line 1  Line 1 
1    // Stub class until java.util.regex is implemented.
2  package java.util.regex;  package java.util.regex;
3    
4  public class Pattern  public class Pattern
5  {  {
6      public static Pattern compile(String regex)    public static Pattern compile(String regex)
7      {    {
8          throw new IllegalArgumentException("Not implemented yet");      throw new InternalError("Not implemented yet");
9      }    }
10      public static boolean matches(String regex, CharSequence input)    public static boolean matches(String regex, CharSequence input)
11      {    {
12          throw new IllegalArgumentException("Not implemented yet");      throw new InternalError("Not implemented yet");
13      }    }
14      public Matcher matcher(Pattern regex)    public Matcher matcher(CharSequence input)
15      {    {
16          throw new IllegalArgumentException("Not implemented yet");      throw new InternalError("Not implemented yet");
17      }    }
18      public String[] split(CharSequence input, int limit)
19      {
20        throw new InternalError("Not implemented yet");
21      }
22  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26