|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.misc.AppleScriptRunner
public class AppleScriptRunner
This class is the Interface to the AppleScript-System. It runs the Scripts
Constructor Summary | |
---|---|
AppleScriptRunner()
Creates the Runner with a default Timeout of 60 seconds |
|
AppleScriptRunner(int timeout)
Create the Runner |
Method Summary | |
---|---|
java.lang.String |
executeScript(java.lang.String script)
Executes the AppleScripts |
java.lang.String |
formatTextAsParam(java.lang.String string)
Formats a string and escapes all problematic characters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppleScriptRunner()
public AppleScriptRunner(int timeout)
timeout
- Timeout in Seconds for the execution of the ScriptsMethod Detail |
---|
public java.lang.String executeScript(java.lang.String script) throws java.io.IOException
script
- Script to execute
java.io.IOException
public java.lang.String formatTextAsParam(java.lang.String string)
string
- Input-String
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |