|
Forward Computing and Control Pty. Ltd. WebStringTemplate V1.5.0 2004/1/7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.com.forward.runWST.RunWST
This is the Web Page Designer's test program for WebStringTemplates
Field Summary | |
static java.util.logging.Logger |
logger
The Java logger for this class |
static java.lang.String |
VERSION
The version number 1.4 |
static java.lang.String |
VERSION_DATE
The version date 15th Jan. 2004 |
Constructor Summary | |
RunWST()
|
Method Summary | |
static boolean |
copyFile(java.lang.String fromFileName,
java.lang.String toFileName)
Copies the from file to the to file. |
static void |
main(java.lang.String[] args)
The main method. |
void |
run(java.lang.String templateFileName,
java.lang.String attributesFileName,
java.lang.String outputFileName,
java.lang.String startDelim,
java.lang.String endDelim,
long refreshDelay)
Main processing method for the RunWST object |
void |
stopRun()
Stops the program |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.util.logging.Logger logger
public static final java.lang.String VERSION
public static final java.lang.String VERSION_DATE
Constructor Detail |
public RunWST()
Method Detail |
public static void main(java.lang.String[] args)
args
- the program argspublic void stopRun()
public void run(java.lang.String templateFileName, java.lang.String attributesFileName, java.lang.String outputFileName, java.lang.String startDelim, java.lang.String endDelim, long refreshDelay) throws RunWSTException
templateFileName
- the template file name (with extension)attributesFileName
- the HTML data map file name (with extension)outputFileName
- the HTML output file name (with extension)startDelim
- the start delimiterendDelim
- the end delimiterrefreshDelay
- the refreshDelay (in Sec), < 0 is set as 0
RunWSTException
- if it cannot write the error to the output
file.public static boolean copyFile(java.lang.String fromFileName, java.lang.String toFileName) throws java.io.IOException
fromFileName
- the name of the file to copy fromtoFileName
- the name of the file to copy to
java.io.IOException
- thrown if error occured while copying
java.lang.IllegalArgumentException
- thrown if to file or from file names are empty.
java.lang.NullPointerException
- thrown if to file or from file names are null.
|
Forward Computing and Control Pty. Ltd. WebStringTemplate V1.5.0 2004/1/7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |