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
|
Constructor Summary |
Regexp(java.lang.String pattern)
|
Methods inherited from class java.lang.Object |
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
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
Regexp
public Regexp(java.lang.String pattern)
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