Overview | Package | Class | Tree | Deprecated | Index | Help
| Qizx/Open v0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.xfra.qizxopen.util
Class StringMatcher

    java.lang.Object
      |
      +--net.xfra.qizxopen.util.StringMatcher

Direct Known Subclasses:
  FuzzyMatcher, StringGlob

public class StringMatcher
extends java.lang.Object

Matches a string with a pattern. This superclass implements the identity comparison.

Constructor Summary
`StringMatcher(char[] pattern, int length)`

Method Summary
`boolean` | `exactMatch()`
`char[]` | `getPattern()`
`boolean` | `matches(char[] string)` Redefinable matching method.
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### StringMatcher

    public StringMatcher(char[] pattern,
                         int length)

Method Detail

### exactMatch

    public boolean exactMatch()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### getPattern

    public char[] getPattern()

### matches

    public boolean matches(char[] string)

  Redefinable matching method.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright Xavier FRANC 2003-2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD