liquibase.util
Class RegexMatcher

java.lang.Object
  extended by liquibase.util.RegexMatcher

public class RegexMatcher
extends Object

Check that a text matches an array of regular expressions.

Author:
lujop

Constructor Summary
RegexMatcher(String text, String[] regexToMatch)
          Constructs the matcher
 
Method Summary
 boolean allMatchedInSequentialOrder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexMatcher

public RegexMatcher(String text,
                    String[] regexToMatch)
Constructs the matcher

Parameters:
text - Text to search for mathces
regexToMatch - Regex to match
Method Detail

allMatchedInSequentialOrder

public boolean allMatchedInSequentialOrder()


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.