Class ScriptManager
java.lang.Object
net.thevpc.naru.agent.ScriptManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidload(String pathStr, AgentContext context) voidvoidremoveLine(int number) voidsave(String pathStr, AgentContext context) voidswitchScript(String name) booleantryParseLine(String input)
-
Constructor Details
-
ScriptManager
public ScriptManager()
-
-
Method Details
-
getScript
-
getCurrentScript
-
getCurrentScriptName
-
switchScript
-
putLine
-
removeLine
public void removeLine(int number) -
clearCurrent
public void clearCurrent() -
listCurrent
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
tryParseLine
-