|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.load.BasicLoader
Information on how to localize the titles of your csv files.
The DTD in this package describes the fields. You can specify the title in one of three ways.
1. the name of the file. Omitting the title, rbInfo and key fields will make the loader use the csv file name as the load name
e.g. entry in xml file :
Field Summary | |
private boolean |
customLoad
|
protected static boolean |
DEBUG
|
(package private) static String |
DEFAULT_LOADSET_DIR
|
private String[] |
FILENAME_DESC
|
private String[] |
FILENAMES
|
(package private) static Hashtable |
g_commandLine
|
(package private) static String |
g_userAdminName
|
Installer |
installService
|
private String |
loadSetContainerPath
|
protected static WTProperties |
localProps
|
private String |
OPENING_MESSAGE
|
Constructor Summary | |
BasicLoader()
Empty Constructor. |
|
BasicLoader(String[] args,
String opening,
String[] files,
String[] file_desc)
This is the constructor for the Install Loader which setups the appropriate files to install and the mode in which it is to install. |
Method Summary | |
private void |
calculateLoadSetContainerPath(Document doc)
|
protected void |
doInstall()
This method is a general install method which may be overridden by solutions, but in general should be used as is defined in this file. |
protected void |
doPostInstall()
This method handles any post installation steps that maybe required by a solution. |
protected void |
installFiles(ArrayList load_files)
This install will perform the current install for Windchill. |
private ArrayList |
loadXMLProperties(String fileResource)
This method will load a given XML file, parse the file and return an array list of its contents. |
private ArrayList |
parseSubNodes(XPathFactory factory_,
Document doc,
String path)
This will parse the loadfilelist node for all of the loadFile nodes and return the all of the node's attributes in a vector which is contained in an arraylist to preserve order. |
private static void |
PP(String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Installer installService
static String g_userAdminName
static Hashtable g_commandLine
private String[] FILENAMES
private String[] FILENAME_DESC
private boolean customLoad
static String DEFAULT_LOADSET_DIR
protected static boolean DEBUG
protected static WTProperties localProps
private String OPENING_MESSAGE
private String loadSetContainerPath
Constructor Detail |
public BasicLoader() throws Exception
public BasicLoader(String[] args, String opening, String[] files, String[] file_desc) throws Exception
If -UAOps
or -Unattended
is passed as an
argument to the installer, then the install will be performed in an
unattended fastion.
If -NoServerStop
is passed as an argument the method
servers will not be shutdown before loading.
The important arguments below are the file definitions and the file descriptions. The file definitions is an array of String in which each value represents the resource of the XML configuration file.
args
- The command line arguments.opening
- The opening Message to display for the loaderfiles
- The list of XML file resources to load in the loaderfile_desc
- The description for each XML fileMethod Detail |
protected void doPostInstall() throws Exception
Exception
protected void doInstall() throws Exception
Exception
private ArrayList loadXMLProperties(String fileResource) throws Exception
Exception
- The exception thrown if there is an error initializingprivate void calculateLoadSetContainerPath(Document doc) throws XPathException, WTException
XPathException
WTException
private ArrayList parseSubNodes(XPathFactory factory_, Document doc, String path) throws Exception
Exception
protected void installFiles(ArrayList load_files) throws Exception
Exception
private static void PP(String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |