|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.convert.Upgrade
Nested Class Summary | |
private class |
Upgrade.mapPair
|
Field Summary | |
(package private) Vector |
Maper
|
(package private) String |
message
|
(package private) Vector |
nodePool
|
(package private) Vector |
nonDspPool
|
(package private) String |
taskdirname1
|
(package private) String |
templateFilename
|
Constructor Summary | |
private |
Upgrade()
|
|
Upgrade(String filename)
|
Method Summary | |
void |
appMapToProperties()
Converts the appMap file contents into the Properties file. |
void |
createHtmlFile()
Creates HTML template file. |
private boolean |
createNodePool()
Creates the webject and html node pool |
void |
createXmlFile(Upgrade.mapPair map)
Creates xml file for non DSP webjects refering to the Maper for the Unique file name and the corresponding non DSP webject |
private String |
getDisplayFormat(Webject webject)
Gives the Display format for the DISPLAY webject. |
private Webject |
getNonDspWebject(String grpIn)
Gives the non DISPLAY webject from the nonDspPool of non DSP webjects |
String |
getTaskDir()
Gives the task directory for xml files. |
static void |
main(String[] args)
Read the given input template file Break it into html and webject nodes Instantiate webject2.x object Upgrade webject2.x to webject4.x Generate necessary xml files Upgrade the template. |
Webject |
nonDspUpdate(Webject webject)
Update the non Display webjcts to I*E 4.0 webjects Take each non Display webject from nonDspPool and update it. |
Webject |
uniqueXmlTaskName(Webject webject)
Gives the unique xml filename. |
(package private) void |
writeWebjectToXml(Webject webject,
FileOutputStream fos)
A recurrsive function to write all the required non Display webject to the xml file If the type of the webject is not known - make it as 'UNKNOWN' type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
String templateFilename
Vector nodePool
Vector Maper
Vector nonDspPool
String message
String taskdirname1
Constructor Detail |
private Upgrade()
public Upgrade(String filename)
Method Detail |
private boolean createNodePool()
public void createHtmlFile()
public void createXmlFile(Upgrade.mapPair map)
void writeWebjectToXml(Webject webject, FileOutputStream fos) throws IOException
IOException
public Webject uniqueXmlTaskName(Webject webject)
public String getTaskDir()
private Webject getNonDspWebject(String grpIn)
private String getDisplayFormat(Webject webject)
public Webject nonDspUpdate(Webject webject)
public void appMapToProperties()
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |