websphinx
Class Regexp

java.lang.Object
  |
  +--websphinx.Pattern
        |
        +--websphinx.Regexp
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Tagexp, Wildcard

public class Regexp
extends Pattern


Field Summary
 
Fields inherited from class websphinx.Pattern
groups
 
Constructor Summary
Regexp(java.lang.String pattern)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
static java.lang.String escape(java.lang.String s)
           
 java.lang.String[] getFieldNames()
           
static void main(java.lang.String[] args)
           
 PatternMatcher match(Region region)
           
 java.lang.String toString()
          Return a string representation of the pattern.
 
Methods inherited from class websphinx.Pattern
allMatches, allMatches, found, found, oneMatch, oneMatch
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Regexp

public Regexp(java.lang.String pattern)
Method Detail

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

getFieldNames

public java.lang.String[] getFieldNames()
Overrides:
getFieldNames in class Pattern

toString

public java.lang.String toString()
Description copied from class: Pattern
Return a string representation of the pattern.

Specified by:
toString in class Pattern

match

public PatternMatcher match(Region region)
Specified by:
match in class Pattern

escape

public static java.lang.String escape(java.lang.String s)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception