Java Implementation


The Java implementation of the design is composed of the source files listed below. We're not breaking any new ground in any of this code, so I won't add anything to the detailed design discussion presented in the previous sections.

  • FlatToXML.java : the main routine for the Java application with flat files as source

  • FlatSourceConverter.java (in package net.babelblaster.convert) : the class that drives conversion from flat files to XML

  • FlatRecordReader.java (in package net.babelblaster.record) : the class that handles reading flat file records and converting to XML

  • XMLToFlat.java : the main routine for the Java application with flat files as target

  • FlatTargetConverter.java (in package net.babelblaster.convert) : the class that drives conversion from XML to flat files

  • FlatRecordWriter.java (in package net.babelblaster.record) : the class that handles reading XML and building and writing flat file records

  • DataCellN.java (in package net.babelblaster. cell ) : the class that handles legacy format number fields with implied decimal places

  • DataCellDateYYYYMMDD.java (in package net.babelblaster.cell) : the class that handles date fields in YYYYMMDD representation in legacy formats



Using XML with Legacy Business Applications
Using XML with Legacy Business Applications
ISBN: 0321154940
EAN: 2147483647
Year: 2003
Pages: 181

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net