|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.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 | |
|---|---|
String |
executeScript(String script)
Executes the AppleScripts |
String |
formatTextAsParam(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 Scripts| Method Detail |
|---|
public String executeScript(String script)
throws IOException
script - Script to execute
IOExceptionpublic String formatTextAsParam(String string)
string - Input-String
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||