Logo Search packages:      
Sourcecode: jmk version File versions  Download package

edu::neu::ccs::jmk::Matcher Class Reference

List of all members.

Detailed Description

A string matcher. This class implements pattern matches of the form: pattern = prefix + "%" + suffix. If the pattern does contain '', the percent sign is added to the beginning of the pattern. A pattern with more than one percent sign is erroneous.
November 1997
John D. Ramsdell

Definition at line 35 of file Matcher.java.

Package Functions

String match (String string)
 Matcher (String pattern)

Static Package Functions

static boolean isPattern (String string)
static boolean isPatternOkay (String pattern)
static String subst (String match, String replacement)

Private Attributes

String prefix = ""
int prefixLength
String suffix = null
int suffixLength

Static Private Attributes

static final char wildCard = '%'

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index