public class ScriptUtilities extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CSCRIPT |
static boolean |
DEBUG |
static String |
SCRIPT_COMMAND |
static String |
SCRIPT_COMMAND_W |
static int |
WSCRIPT |
| Constructor and Description |
|---|
ScriptUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static File |
createTemporalFileForScript(String script) |
static ExecutionResult |
executeScript(String archive,
String parameters) |
static ExecutionResult |
executeScript(String archive,
String parameters,
int with) |
static ExecutionResult |
executeScript(String archive,
Vector pa) |
static ExecutionResult |
executeScript(String archive,
Vector parameters,
int with) |
static boolean |
fillAndPrintWordDocument(String archive,
Hashtable valuesDescriptions)
Prints and fills a word document replacing
Hashtable keys by
correspondent descriptions. |
Vector |
listAccessDBReports(String bdArchive) |
static void |
main(String[] args) |
boolean |
printAccessDBReport(String bdArchive,
String report,
String conditions) |
boolean |
report2Snapshot(String bdArchive,
String report,
String dest,
String conditions) |
public static boolean DEBUG
public static final String SCRIPT_COMMAND
public static final String SCRIPT_COMMAND_W
public static final int CSCRIPT
public static final int WSCRIPT
public static ExecutionResult executeScript(String archive, Vector pa) throws Exception
Exceptionpublic static ExecutionResult executeScript(String archive, Vector parameters, int with) throws Exception
Exceptionpublic static ExecutionResult executeScript(String archive, String parameters) throws Exception
Exceptionpublic static ExecutionResult executeScript(String archive, String parameters, int with) throws Exception
Exceptionpublic Vector listAccessDBReports(String bdArchive) throws Exception
Exceptionpublic boolean printAccessDBReport(String bdArchive, String report, String conditions) throws Exception
Exceptionpublic static boolean fillAndPrintWordDocument(String archive, Hashtable valuesDescriptions) throws Exception
Hashtable keys by
correspondent descriptions. Max. length for description is 255
characters.archive - The name of filevaluesDescriptions - Hashtable with texts and descriptionsException - When a Exception occurspublic boolean report2Snapshot(String bdArchive, String report, String dest, String conditions) throws Exception
ExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.