|
SSH Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jscape.sscl.SSCL
Runs a script using commands defined in the Secure Shell Command Line language.
| Constructor Summary | |
SSCL()
Constructs new SSCL instance. |
|
| Method Summary | |
void |
execute(byte[] script)
Executes commands provided in byte[] |
void |
execute(java.io.File script)
Executes commands provided in file. |
static void |
main(java.lang.String[] args)
Launches SSCL application. |
void |
setDebugStream(java.io.PrintStream ps)
Sets the debug stream used by SSCL. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SSCL()
| Method Detail |
public void execute(java.io.File script)
throws SSCLException
script - the script to execute
SSCLException - if an error occurs
public void execute(byte[] script)
throws SSCLException
script - the commands to execute
SSCLException - if an error occurspublic void setDebugStream(java.io.PrintStream ps)
ps - a java.io.PrintStreamPrintStreampublic static void main(java.lang.String[] args)
args - a set of command line arguments
|
SSH Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||