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
(package private) static com.oroinc.text.regex.PatternCompiler compiler
           
(package private)  java.lang.String[] fields
           
(package private)  com.oroinc.text.regex.Pattern pattern
           
(package private)  java.lang.String stringRep
           
 
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()
           
private  void init()
           
static void main(java.lang.String[] args)
           
 PatternMatcher match(Region region)
           
private  void readObject(java.io.ObjectInputStream in)
           
 java.lang.String toString()
          Return a string representation of the pattern.
(package private)  java.lang.String translateFields(java.lang.String s)
           
 
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, registerNatives, wait, wait, wait
 

Field Detail

compiler

static com.oroinc.text.regex.PatternCompiler compiler

stringRep

java.lang.String stringRep

pattern

transient com.oroinc.text.regex.Pattern pattern

fields

transient java.lang.String[] fields
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

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException

init

private void init()

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.
Overrides:
toString in class Pattern

match

public PatternMatcher match(Region region)
Overrides:
match in class Pattern

escape

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

translateFields

java.lang.String translateFields(java.lang.String s)

main

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