frysk.expunit
Class Match

java.lang.Object
  extended by frysk.expunit.Match
Direct Known Subclasses:
Equals, Regex

public abstract class Match
extends Object

Match the specified input, and remember what matched. Loosely modeled on the corresponding Java Pattern and Matcher objects.


Constructor Summary
Match()
           
 
Method Summary
static String escape(String s)
          Escape any characters in S so it looks something like a quoted-string seen in java.
 void execute()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Match

public Match()
Method Detail

escape

public static String escape(String s)
Escape any characters in S so it looks something like a quoted-string seen in java.

Parameters:
s - the unescaped string
Returns:
the escaped string

execute

public void execute()