public class RunBatch
extends java.lang.Object
RunBatch
class launches a batch file defined by user.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RUN_BAT
The name of the auxiliary batch file
|
Constructor and Description |
---|
RunBatch() |
Modifier and Type | Method and Description |
---|---|
static void |
execBatch()
Executes the batch file.
|
static void |
replaceXslName(java.lang.String batchName,
java.lang.String xslName)
Replace the mark [XSL] in the batch file by the actual opened XSL stylesheet file.
|
public static final java.lang.String RUN_BAT
public static void execBatch() throws java.lang.Throwable
java.lang.Throwable
- if the batch file cannot be executed.public static void replaceXslName(java.lang.String batchName, java.lang.String xslName) throws java.lang.Throwable
batchName
- the name of the batch file.xslName
- the name of the actually opened XSL stylesheet file.java.lang.Throwable
- if the batch file is invalid.