KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > datatype > xsd > regex > Regex


1 package com.thaiopensource.datatype.xsd.regex;
2
3 /**
4  * A regular expression that can be matched against a string.
5  * @see RegexEngine
6  */

7 public interface Regex {
8   /**
9    * Tests whether this regular expression matches a string.
10    *
11    * @param str the String to be tested
12    * @return <code>true</code> if <code>str</code> matches this regular expression,
13    * <code>false</code> otherwise
14    */

15   boolean matches(String JavaDoc str);
16 }
17
Popular Tags