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

See Also:
Serialized Form

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)
           
 websphinx.PatternMatcher match(websphinx.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 websphinx.PatternMatcher match(websphinx.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
java.lang.Exception