|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.series.LoadFileBasedSeries
Creates and persists a SeriesTemplate object based on an XML input file.
Usage:
java wt.series.LoadFileBasedSeries<-load | -read> (absolute path) java wt.series.LoadFileBasedSeries c:\series.xml -load
The load option "-load" takes the XML file and stores to the database for use by FileBasedSeries.
The read option "-read" can be used to create an XML file containing the current FileBasedSeries stored in the database.
Supported API: true
Extendable: false
ExportReportTemplate
Field Summary | |
private static String |
FILE_BASED_SERIES
|
private static String |
LOAD_FILE_DIR
|
private static String |
LOAD_OPTION
|
private static String |
RESOURCE
|
private static String |
STANDARD_ENCODING
|
static boolean |
VERBOSE
|
private static String |
WRITE_OPTION
|
private static String |
WT_HOME
|
Constructor Summary | |
LoadFileBasedSeries()
|
Method Summary | |
static boolean |
createFileBasedBegin(Hashtable fileFields,
Hashtable cmd_line,
Vector return_objects)
Creates and persists a SeriesTemplate object. |
static SeriesTemplate |
createSeriesTemplate(String a_xmlFileName)
Processes "SeriesTemplate" from an XML load file. |
private static SeriesTemplate |
findSeries()
|
private static String |
getValue(String name,
Hashtable nv,
Hashtable cmd_line,
boolean required)
|
private static boolean |
isAdministrator()
|
private static String |
loadFile(String file_name)
|
static void |
main(String[] args)
|
private static void |
writeXmlDocument(String file,
String xml)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String FILE_BASED_SERIES
private static final String LOAD_OPTION
private static final String WRITE_OPTION
private static String RESOURCE
private static final String STANDARD_ENCODING
private static final String WT_HOME
private static final String LOAD_FILE_DIR
public static final boolean VERBOSE
Constructor Detail |
public LoadFileBasedSeries()
Method Detail |
public static SeriesTemplate createSeriesTemplate(String a_xmlFileName) throws WTException
WTException
private static SeriesTemplate findSeries() throws WTException
WTException
private static String loadFile(String file_name) throws WTException
WTException
private static void writeXmlDocument(String file, String xml) throws WTException
WTException
private static boolean isAdministrator() throws WTException
WTException
public static boolean createFileBasedBegin(Hashtable fileFields, Hashtable cmd_line, Vector return_objects)
fileFields
- Hashtable containing the values read in from the input file.
wt.load.StandardLoadService.load
,
createFileBasedBegin
private static String getValue(String name, Hashtable nv, Hashtable cmd_line, boolean required) throws WTException
WTException
public static void main(String[] args) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |