Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.alicebot.server.core.util
Class PatternArbiter  view PatternArbiter download PatternArbiter.java

java.lang.Object
  extended byorg.alicebot.server.core.util.PatternArbiter

public class PatternArbiter
extends java.lang.Object


Field Summary
private static int ADVANCE_LITERAL
           
private static int ADVANCE_PATTERN
           
private static char ASTERISK
           
private static int AT_END
           
private static java.lang.String ATOMIC_ELEMENT_END
           
private static java.lang.String BOT_NAME_EQUALS
           
private static int CONTINUE_MATCHING
           
private static int IS_LETTERDIGIT
           
private static int IS_NON_LETTERDIGIT
           
private static int IS_SPACE
           
private static int IS_WHITESPACE
           
private static int IS_WILDCARD
           
private static int MATCH_FAILURE
           
private static int NOT_PAST_END
           
private static int PAST_END
           
private static char QUOTE_MARK
           
private static char SPACE
           
private static int STOP_MATCHING
           
private static char TAG_START
           
private static char UNDERSCORE
           
private static int UNKNOWN
           
 
Constructor Summary
PatternArbiter()
           
 
Method Summary
static void checkAIMLPattern(java.lang.String s, boolean flag)
           
static void main(java.lang.String[] args)
           
static boolean matches(java.lang.String s, java.lang.String s1, boolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASTERISK

private static final char ASTERISK
See Also:
Constant Field Values

UNDERSCORE

private static final char UNDERSCORE
See Also:
Constant Field Values

SPACE

private static final char SPACE
See Also:
Constant Field Values

TAG_START

private static final char TAG_START
See Also:
Constant Field Values

QUOTE_MARK

private static final char QUOTE_MARK
See Also:
Constant Field Values

BOT_NAME_EQUALS

private static final java.lang.String BOT_NAME_EQUALS
See Also:
Constant Field Values

ATOMIC_ELEMENT_END

private static final java.lang.String ATOMIC_ELEMENT_END
See Also:
Constant Field Values

UNKNOWN

private static final int UNKNOWN
See Also:
Constant Field Values

IS_WILDCARD

private static final int IS_WILDCARD
See Also:
Constant Field Values

IS_LETTERDIGIT

private static final int IS_LETTERDIGIT
See Also:
Constant Field Values

IS_SPACE

private static final int IS_SPACE
See Also:
Constant Field Values

IS_WHITESPACE

private static final int IS_WHITESPACE
See Also:
Constant Field Values

IS_NON_LETTERDIGIT

private static final int IS_NON_LETTERDIGIT
See Also:
Constant Field Values

NOT_PAST_END

private static final int NOT_PAST_END
See Also:
Constant Field Values

AT_END

private static final int AT_END
See Also:
Constant Field Values

PAST_END

private static final int PAST_END
See Also:
Constant Field Values

CONTINUE_MATCHING

private static final int CONTINUE_MATCHING
See Also:
Constant Field Values

STOP_MATCHING

private static final int STOP_MATCHING
See Also:
Constant Field Values

MATCH_FAILURE

private static final int MATCH_FAILURE
See Also:
Constant Field Values

ADVANCE_LITERAL

private static final int ADVANCE_LITERAL
See Also:
Constant Field Values

ADVANCE_PATTERN

private static final int ADVANCE_PATTERN
See Also:
Constant Field Values
Constructor Detail

PatternArbiter

public PatternArbiter()
Method Detail

matches

public static boolean matches(java.lang.String s,
                              java.lang.String s1,
                              boolean flag)
                       throws NotAnAIMLPatternException

checkAIMLPattern

public static void checkAIMLPattern(java.lang.String s,
                                    boolean flag)
                             throws NotAnAIMLPatternException

main

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