Regex.java :  » App » edgelibrarylib » com » thaiopensource » datatype » xsd » regex » Android Open Source

Android Open Source » App » edgelibrarylib 
edgelibrarylib » com » thaiopensource » datatype » xsd » regex » Regex.java
package com.thaiopensource.datatype.xsd.regex;

/**
 * A regular expression that can be matched against a string.
 * @see RegexEngine
 */
public interface Regex {
  /**
   * Tests whether this regular expression matches a string.
   *
   * @param str the String to be tested
   * @return <code>true</code> if <code>str</code> matches this regular expression,
   * <code>false</code> otherwise
   */
  boolean matches(String str);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.