All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class websphinx.Wildcard

java.lang.Object
   |
   +----websphinx.Pattern
           |
           +----websphinx.Regexp
                   |
                   +----websphinx.Wildcard

public class Wildcard
extends Regexp
Wildcard pattern. Wildcards are similar to sh-style file globbing. A wildcard pattern is implicitly anchored, meaning that it must match the entire string. The wildcard operators are:
    ? matches one arbitrary character
    * matches zero or more arbitrary characters
    [xyz] matches characters x or y or z
    {foo,bar,baz}   matches expressions foo or bar or baz
    ()  grouping to extract fields
    \ escape one of these special characters
 
Escape codes (like \n and \t) and Perl5 character classes (like \w and \s) may also be used.


Constructor Index

 o Wildcard(String)

Method Index

 o equals(Object)
 o escape(String)
 o main(String[])
 o toRegexp(String)
 o toString()
Return a string representation of the pattern.

Constructors

 o Wildcard
 public Wildcard(String pattern)

Methods

 o equals
 public boolean equals(Object object)
Overrides:
equals in class Regexp
 o toRegexp
 public static String toRegexp(String wildcard)
 o escape
 public static String escape(String s)
 o toString
 public String toString()
Return a string representation of the pattern.

Overrides:
toString in class Regexp
 o main
 public static void main(String args[]) throws Exception

All Packages  Class Hierarchy  This Package  Previous  Next  Index