|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.ftcl.FTCL
public class FTCL
Runs a script using commands defined in the File Transfer Command Line language.
Constructor Summary | |
---|---|
FTCL()
Constructs new FTCL instance. |
|
FTCL(FTCLParserVisitorImpl visitor)
Constructor. |
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 FTCL application. |
void |
setDebugStream(java.io.PrintStream ps)
Sets the debug stream used by FTCL. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FTCL()
public FTCL(FTCLParserVisitorImpl visitor)
visitor
- visitorMethod Detail |
---|
public void execute(java.io.File script) throws FTCLException
script
- the script to execute
FTCLException
- if an error occurspublic void execute(byte[] script) throws FTCLException
script
- the commands to execute
FTCLException
- if an error occurspublic void setDebugStream(java.io.PrintStream ps)
ps
- a java.io.PrintStreamPrintStream
public static void main(java.lang.String[] args)
args
- a set of command line arguments
|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |