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 |
} |
} |