|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.sase.engine.EngineController
public class EngineController
This class is used to wrap the Engine class, such that when you write code, you can quickly locate the related methods.
Constructor Summary | |
---|---|
EngineController()
Default constructor. |
|
EngineController(java.lang.String engineType)
Constructor, can set different kinds of engines by different parameters |
Method Summary | |
---|---|
void |
initializeEngine()
Initializes the engine |
void |
runEngine()
starts to run the engine |
void |
setInput(Stream input)
Sets the input stream for the engine |
void |
setNfa(java.lang.String nfaLocation)
Sets the nfa for the engine. |
void |
setNfa(java.lang.String selectionStrategy,
java.lang.String nfaLocation)
Sets the nfa and selection strategy for the engine |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EngineController()
public EngineController(java.lang.String engineType)
engineType
- specifies the engine type, currently supports "sharingengine"Method Detail |
---|
public void initializeEngine()
public void setNfa(java.lang.String selectionStrategy, java.lang.String nfaLocation)
selectionStrategy
- the selection strategynfaLocation
- the nfa file for the querypublic void setNfa(java.lang.String nfaLocation)
nfaLocation
- the nfa file for the querypublic void setInput(Stream input)
input
- the input streampublic void runEngine() throws java.lang.CloneNotSupportedException, net.sourceforge.jeval.EvaluationException
java.lang.CloneNotSupportedException
net.sourceforge.jeval.EvaluationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |