java.lang.Object
org.alicebot.server.core.parser.GenericReader
org.alicebot.server.core.targeting.TargetsReader
- All Implemented Interfaces:
- java.lang.Runnable
- public class TargetsReader
- extends org.alicebot.server.core.parser.GenericReader
- implements java.lang.Runnable
| Nested classes inherited from class org.alicebot.server.core.parser.GenericReader |
org.alicebot.server.core.parser.GenericReader.TransitionMade |
| Fields inherited from class org.alicebot.server.core.parser.GenericReader |
ASTERISK, buffer, bufferStartCapacity, bufferString, buffReader, byteCount, COLON, COMMENT_MARK, done, EMPTY_STRING, encoding, fileName, LINE_SEPARATOR, lineNumber, listener, MARKER_END, MARKER_START, QUOTE_MARK, readerInstance, searching, searchStart, SLASH, SPACE, state, tagLength, tagStart, TRANSITION_MADE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INPUT_TEXT
private static final java.lang.String INPUT_TEXT
- See Also:
- Constant Field Values
INPUT_THAT
private static final java.lang.String INPUT_THAT
- See Also:
- Constant Field Values
INPUT_TOPIC
private static final java.lang.String INPUT_TOPIC
- See Also:
- Constant Field Values
MATCH_PATTERN
private static final java.lang.String MATCH_PATTERN
- See Also:
- Constant Field Values
MATCH_THAT
private static final java.lang.String MATCH_THAT
- See Also:
- Constant Field Values
MATCH_TOPIC
private static final java.lang.String MATCH_TOPIC
- See Also:
- Constant Field Values
MATCH_TEMPLATE
private static final java.lang.String MATCH_TEMPLATE
- See Also:
- Constant Field Values
REPLY
private static final java.lang.String REPLY
- See Also:
- Constant Field Values
S_NONE
private final int S_NONE
- See Also:
- Constant Field Values
S_IN_TARGETS
private final int S_IN_TARGETS
- See Also:
- Constant Field Values
S_OUT_TARGETS
private final int S_OUT_TARGETS
- See Also:
- Constant Field Values
S_IN_TARGET
private final int S_IN_TARGET
- See Also:
- Constant Field Values
S_OUT_TARGET
private final int S_OUT_TARGET
- See Also:
- Constant Field Values
S_IN_INPUT
private final int S_IN_INPUT
- See Also:
- Constant Field Values
S_OUT_INPUT
private final int S_OUT_INPUT
- See Also:
- Constant Field Values
S_IN_TEXT
private final int S_IN_TEXT
- See Also:
- Constant Field Values
S_OUT_TEXT
private final int S_OUT_TEXT
- See Also:
- Constant Field Values
S_IN_MATCH
private final int S_IN_MATCH
- See Also:
- Constant Field Values
S_OUT_MATCH
private final int S_OUT_MATCH
- See Also:
- Constant Field Values
S_IN_PATTERN
private final int S_IN_PATTERN
- See Also:
- Constant Field Values
S_OUT_PATTERN
private final int S_OUT_PATTERN
- See Also:
- Constant Field Values
S_IN_THAT
private final int S_IN_THAT
- See Also:
- Constant Field Values
S_OUT_THAT
private final int S_OUT_THAT
- See Also:
- Constant Field Values
S_IN_TOPIC
private final int S_IN_TOPIC
- See Also:
- Constant Field Values
S_OUT_TOPIC
private final int S_OUT_TOPIC
- See Also:
- Constant Field Values
S_IN_TEMPLATE
private final int S_IN_TEMPLATE
- See Also:
- Constant Field Values
S_OUT_TEMPLATE
private final int S_OUT_TEMPLATE
- See Also:
- Constant Field Values
S_IN_REPLY
private final int S_IN_REPLY
- See Also:
- Constant Field Values
S_OUT_REPLY
private final int S_OUT_REPLY
- See Also:
- Constant Field Values
SET_INPUT_CONTEXT
private final int SET_INPUT_CONTEXT
- See Also:
- Constant Field Values
SET_MATCH_CONTEXT
private final int SET_MATCH_CONTEXT
- See Also:
- Constant Field Values
SET_REPLY_CONTEXT
private final int SET_REPLY_CONTEXT
- See Also:
- Constant Field Values
DELIVER_TARGET
private final int DELIVER_TARGET
- See Also:
- Constant Field Values
SET_DONE
private final int SET_DONE
- See Also:
- Constant Field Values
ABORT
private final int ABORT
- See Also:
- Constant Field Values
matchPattern
public java.lang.String matchPattern
matchThat
public java.lang.String matchThat
matchTopic
public java.lang.String matchTopic
matchTemplate
public java.lang.String matchTemplate
inputText
public java.lang.String inputText
inputThat
public java.lang.String inputThat
inputTopic
public java.lang.String inputTopic
reply
public java.lang.String reply
patternField
public java.lang.reflect.Field patternField
thatField
public java.lang.reflect.Field thatField
topicField
public java.lang.reflect.Field topicField
templateField
public java.lang.reflect.Field templateField
monitor
private javax.swing.ProgressMonitor monitor
progress
private double progress
progressScaleFactor
private double progressScaleFactor
TargetsReader
public TargetsReader(java.lang.String s,
java.io.BufferedReader bufferedreader,
TargetsReaderListener targetsreaderlistener,
java.lang.String s1,
long l,
java.awt.Component component)
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable
initialize
protected void initialize()
tryStates
protected void tryStates()
throws org.alicebot.server.core.parser.GenericReader.TransitionMade
transition
private void transition(java.lang.String s,
int i,
int j)
throws org.alicebot.server.core.parser.GenericReader.TransitionMade
closeMonitor
public void closeMonitor()