public class FTCL
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FTCL.Configuration |
Constructor and Description |
---|
FTCL()
Creates a new FTCL instance.
|
FTCL(com.jscape.ftcl.lang.InterpretationService interpretationService,
com.jscape.ftcl.lang.FTCLFileTransferParameters transferParameters,
com.jscape.ftcl.lang.syntax.Variables variables) |
Modifier and Type | Method and Description |
---|---|
void |
execute(byte[] scriptData)
Executes commands provided in byte[]
|
void |
execute(java.io.File file)
Executes commands provided in file.
|
static void |
execute(FTCL.Configuration configuration) |
void |
execute(java.io.InputStream in)
Executes commands provided in stream.
|
static void |
main(java.lang.String[] args)
Launches FTCL application.
|
void |
setDebugStream(java.io.PrintStream value)
Sets the debug stream used by FTCL.
|
public FTCL(com.jscape.ftcl.lang.InterpretationService interpretationService, com.jscape.ftcl.lang.FTCLFileTransferParameters transferParameters, com.jscape.ftcl.lang.syntax.Variables variables)
public FTCL()
public static void main(java.lang.String[] args)
args
- a set of command line argumentspublic static void execute(FTCL.Configuration configuration) throws java.lang.Exception
java.lang.Exception
public void setDebugStream(java.io.PrintStream value)
value
- a new debug streampublic void execute(java.io.InputStream in) throws com.jscape.ftcl.FTCLException
in
- a script streamFTCLException
- if an error occurspublic void execute(java.io.File file) throws com.jscape.ftcl.FTCLException
file
- the script to executeFTCLException
- if an error occurspublic void execute(byte[] scriptData) throws com.jscape.ftcl.FTCLException
scriptData
- the commands to executeFTCLException
- if an error occursCopyright © JSCAPE LLC. 1999-2023. All Rights Reserved